Okay
  Public Ticket #2272489
Change blog font
Closed

Comments

  • Kate started the conversation

    Hello,

    I'd like to change the font family of blog posts, comments and side bar. I've already tried insert the code in the custom css field but nothing happened. 

    My chosen Google font works fine everywhere else through the site except the single blog page.


    Thank you for your help!

  •  675
    Neuron replied

    Hi Kate,

    Can you please provide me with an URL of that page, so I can check why it is not working.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   Kate replied privately
  •  675
    Neuron replied

    Hi Kate,

    Can you please add the following Custom CSS in Appearance > Customize > Additional CSS, that will basically set the title and the content to inherit the font that you've set generaly.

    .o-blog-post .o-blog-post__title,
    * {
        font-family: inherit !important;
    }

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Kate replied

    Hi,

    I copied that but every font became a kind of serif font. I replaced 'inherit' with 'Source Sans Pro' then it went back to as it was. 

    I left the CSS code you gave in the additional CSS field so you could check it out.


    I have another question. Is there a way I could duplicate a portfolio page? I really like one of the templates that came with Amartha and I'd like to use that on all of my portfolio pages.


    Thank you again!

  • Kate replied

    For the duplication issue I found a plugin and seems like it's working.

  •  675
    Neuron replied

    Hi Kate,

    Sorry for the late reply, we were not working on the weekend.

    Please remove the CSS I've provided you earlier and add this one.

    * {
        font-family: 'Source Sans Pro', sans-serif !important;
    }
    

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Kate replied

    Hi,

    Hope you had a great weekend!

    Thank you for the code it changed most of the fonts except the blog post text and the comments, but I changed the post's font inside Elementor. It seems I'll have to do it manually with all posts, but fortunately I won't intend to write lots of posts in the future. :)


  •  675
    Neuron replied

    Hi Kate,

    Sorry about that, if you keep planing the old layout, please send me the wp-admin and I'll do the changes by testing them.

    Feel free to ask for anything that you needsmile.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.