CSS Ignored for Primary Widget Title

Community Forums Forums General Discussion CSS Ignored for Primary Widget Title

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  David Chu 1 year, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35703

    leifhurst
    Participant
    Post count: 2

    I’ve got a strange CSS error on one of my sites.

    On the CSS for the H4 widget title I’m getting a weird “user agent stylesheet” which is applying a 1.33em webkit margin.

    From my understanding there is a CSS error and this is the sheets way of defaulting to some settings. How do I find this error?

    The site is http://www.covericaaa.com

     

    Thanks all!

    #35782

    media317
    Participant
    Post count: 52

    Use Agent Stylesheet is the default from the browser.  You styling in the styles.css should over ride the user agent.

    I see a margin of 0 0 10px being applied from line 999 of your style sheet.

    What do you want the margin to be?


    Alan Smith
    Media317

    #35784

    David Chu
    Participant
    Post count: 1371

    Hi,
    I take it you’re referring to inner pages, as the home page does not have the primary sidebar. I don’t see any error at all. I think you’re just seeing massive default margins above and below the heading, stemming from one of those other CSS commands. The following CSS relates to that spot. Just as an example, I zeroed out margins. You could try that, and obviously adjust to taste.

    [css]
    .sidebar h4, .sidebar h4 a, .sidebar h4 a:visited {
    color: #000000;
    line-height: 24px;
    margin: 0;
    padding: 0 0 15px;
    }
    [/css]

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.