Home>Support>Articles title style – Vantage child

Articles title style – Vantage child

I have a problem of a title uneffected by my child css.
From firebug and vantage style.css I found the title controller:

article.post .entry-header h1.entry-title,
article.page .entry-header h1.entry-title {
  color: #3b3b3b;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35em;

If I put this in my css and , for exemple, modify the text color it doesn’t make effect, neither if I set it as !important.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi

    You can change the font size and color of this selector via:

    Appearance > Customize > Fonts > Page Title Size & Page Title Color.

    If you’d like to use Custom CSS for this you can try:

    #page-title, 
    article.post .entry-header h1.entry-title, 
    article.page .entry-header h1.entry-title { 
    font-size: 30px; color: #dd3333 }
    

    That’s the exact list of selectors the Customizer will produce.

    In general, if there are no errors in your child theme’s CSS and it’s not taking effect, there is most likely a problem of specificity or order. You can increase specificity by making the selector more specific:

    http://css-tricks.com/specifics-on-css-specificity/

    You can also “cheat” with !important:

    http://css-tricks.com/when-using-important-is-the-right-choice/

  2. 9 years, 9 months ago zeitan

    I’ve alredy tried with

     #page-title, 
    article.post .entry-header h1.entry-title, 
    article.page .entry-header h1.entry-title 

    and also with !important. Simply it doesn’t make any effect: it seems that it isn’t targetting that element (if I analyze it in firebug there are no signs of my css in that element).
    It changes only if I modify the style.css of vantage.

  3. 9 years, 9 months ago zeitan

    I tried modifying it in the custom css built-in and works…I don’t understand why it isn’t working in the child css

  4. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Please confirm a link where I can see this in action and I’ll take a look. Please move the CSS to your child theme’s style.css file before doing so. Thanks.

  5. 9 years, 9 months ago zeitan

    I have to wait until the first week of january because my hosting service starts with the new year.

  6. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    No problem. Please let us know when the site is up and we’ll take a look. Thanks.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More