Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla Grey theme

BastetBastet New
edited September 2012 in Vanilla 2.0 - 2.8

Versions - Everything is up to date

I love the theme and have tweaked a few colors to suit my contrast needs.

Problem: Looking at a post in the forum, the text has no padding from the side margins.

Possible solution: In Firebug, I can see a bit of code (Line 12) that if I alter it will add the padding I need.

element.style {
background-color: #FFFFFF;
border: 0 none;
float: none;
font-family: 'Segoe UI',arial,verdana;
font-size: 14px;
line-height: 16px;
margin: 0;
min-height: 0;
min-width: 0;
outline: 0 none;
padding: 0 0 1em;

Question: Where do I find this bit of code? I can't find anything that calls for element.style

Answers

  • x00x00 MVP
    edited September 2012

    element.style tend to refer to dynamically added styles or inline styles, not in the style sheet

    way to overrule is to put !important, using the actual selector. e.g. padding: 0 0 1em!important;.

    Important shouldn't be overused, but this is one of the valid uses.

    grep is your friend.

Sign In or Register to comment.