WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Something is stopping me from formatting text (9 posts)

  1. rileybetka
    Member
    Posted 1 year ago #

    I am trying to format the text for the post meta data on my page - for some reason it will only let me change the color - not the font size and style - If I inspect the element with developer tools there is a strikethrough the line for size - I'm not sure what is stopping me from making changes - I am editing the style.css file in my child theme dir which I thought kind of took priority over everything else...
    the url is http://www.daily-mash.com/wordpress2

    thanks in advance for your help!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    No, child theme styles follow the same CSS "rules" as any other styles - so you probably need to use more specific selectors.

    Firebug (or other browser tool) should show you which CSS is active -- and then you should be able to use those same selectors in your child theme. Is that what you are doing?

    Can you be specific about what you are trying to change and the code you are using?

  3. rileybetka
    Member
    Posted 1 year ago #

    here is my CSS...if you look I changed the size of the font to 25 but it is not changing on the page - what does that mean when a portion of the text has a line through it?

    http://pastebin.com/8PbFTBbb

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Read up on CSS Specificity.
    You're not using specific-enough selectors.

    Edit: Link amended.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What font on what element - what are you trying to change? I can see all the CSS on your site - no need to post that.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Are you using Firebug? It shows you all the information you need.

  7. rileybetka
    Member
    Posted 1 year ago #

    I am using chrome developer tools

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It should do the same thing. When you look at whatever text you are trying to change, what does it show as the active CSS for that element?

  9. rileybetka
    Member
    Posted 1 year ago #

    I got it thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic