• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

CSS Ignored for Primary Widget Title

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › CSS Ignored for Primary Widget Title

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 12 years, 2 months ago by David Chu.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 15, 2013 at 11:05 pm #35703
    leifhurst
    Member

    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!

    April 16, 2013 at 11:28 am #35782
    media317
    Participant

    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

    April 16, 2013 at 11:32 am #35784
    David Chu
    Participant

    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.

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

    Dave


    Dave Chu · Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble