WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
Custom CSS Not Working (8 posts)

  1. ricksox
    Member
    Posted 3 months ago #

    Hello,

    Having a bit of trouble customizing the tagline font color on my site. I pasted in the following code to the custom css tool in Customizr and nothing changes. Any idea what I'm doing wrong? Thanks!

    Site is insuremytoy.unchainedseo.com

    h2 {
    color:#FF0000;
    float:right;
    font-style:italic;
    line-height:19px;
    padding-right:5px;
    text-align:right;

  2. stephencottontail
    Member
    Posted 3 months ago #

    You need a closing bracket: "}". Also, I looked at the lines before that and you need a closing bracket there too. It should be:

    h1, h2, h3, h4, h5, h6 {
      color:#FF0000;
      font-family:inherit;
      font-weight:bold;
      line-height:20px;
      margin:10px 0;
      text-shadow:white 0 1px 0;
    }
     h2 {
      color:#FF0000;
      float:right;
      font-style:italic;
      line-height:19px;
      padding-right:5px;
      text-align:right;
    }
  3. ricksox
    Member
    Posted 3 months ago #

    Thanks! That helps. Still having a bit of trouble though. I initially had the wrong code and discovered that below is the correct code to change the font color where I want. However, the font color will only change when I have the customizr menu drop downs open. When I save the updated code and visit the site, nothing has actually changed?

    h2.site-description {
    color:#FF0000;
    font-size:18px;
    font-style:italic;
    line-height:20px;
    padding-top:0;
    }

    I should mention that I did clear my cache. On Mac OSX 10.9 and using Chrome.

  4. rdellconsulting
    Member
    Posted 3 months ago #

    OK, the selector you need is:

    .navbar-wrapper .navbar h2 {
    color:#FF0000;
    font-size:18px;
    font-style:italic;
    line-height:20px;
    padding-top:0;
    }
  5. ricksox
    Member
    Posted 3 months ago #

    That's brilliant thank you. So I just needed that selector.

  6. rdellconsulting
    Member
    Posted 3 months ago #

    Here's a CSS Glossary which might help you next time.

  7. esmi
    Forum Moderator
    Posted 3 months ago #

    Done.

    @csingerline: Stop posting in other people's topics. Stick to your own topic.

  8. ricksox
    Member
    Posted 3 months ago #

    Again many thanks! I have the glossary book marked so I'll make sure to use it next time! :)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.