WordPress.org

Ready to get started?Download WordPress

Forums

Css Heading h3 in child theme (9 posts)

  1. Kainer
    Member
    Posted 6 months ago #

    Hi,

    I can't seem to get hold of the h3 style for my page.

    Whatever I change, the style isn't implemented.

    What I have tried so far :

    .entry h3 {
    font-size: 24.5px !important;
    color:red !important;
    }

    h3 {
    font-size: 24.5px !important;
    color:red !important;
    }

    I tried to give the h3 a class like this in my wp-page (edited in textmode) <h3 class="blah">headline</h3> and then style this class in my childthemes css file. Didn't work.

    I tried everything suggested here http://codex.wordpress.org/Designing_Headings.
    Nothing.

    I can't get this to work. Where to style a simple h3 heading in my wordpress page? Appreciate any help.

  2. Andrew
    Forum Moderator
    Posted 6 months ago #

    Lets see your site

  3. Kainer
    Member
    Posted 6 months ago #

    Not possible. Sorry. Client site I am working on offline.

    This is what the usual tools showed me
    http://imgur.com/imp5mSF

    and I guessed I style it like this:

    .entry h3, .entry-title, .entry-content h3 {
    color: red !important;
    line-height: 3.5em !important;
    }

    but not working.

  4. Andrew
    Forum Moderator
    Posted 6 months ago #

    At least what theme are you using?

  5. Kainer
    Member
    Posted 6 months ago #

    Canvas Woothemes... if this helps.

  6. Andrew
    Forum Moderator
    Posted 6 months ago #

    It's best talking to WooThemes about this: http://woothemes.com/support

  7. Ben Butterfield
    Member
    Posted 6 months ago #

    The CSS that controls what you are trying to change is in the head, rather than in a separate CSS file. This suggests that it is controlled by the theme settings.

  8. Kainer
    Member
    Posted 6 months ago #

    Thanks Ben, that helped.

    shouldn't this be overwritten by !important;?

  9. Ben Butterfield
    Member
    Posted 6 months ago #

    Inline styles override regular styles and I think this includes the !important declaration.

Reply

You must log in to post.

About this Topic