• e of blog post link (1 post)

    ariatepper
    Member
    Posted 11 hours ago #

    Total beginner here.

    Here’s the page I have been trying to fix for hours.

    https://www.thehabitscientist.com/blog-1/

    As you can see, the font of the link to the blog-posts are too small (while the font of the text from the blog post is too large).

    I used ‘inspect’ and saw that I needed to change the code:

    h4, h4 a, .entry-content h4 { font size: 12px !important; }

    I tried this. But failed. I inserted the edited code into the ‘custom css’ box in my theme customization…but it still failed.

    Any help…any…will be whole-heartedly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Did you enter the new code with !important too?

    Something like:

    h4, h4 a, .entry-content h4 { font size: 20px !important; }

    Try this in a custom css editor plugin or in your child theme’s stylesheet:

    h4, h4 a, .entry-content h4 {
    font-size: 22px !important;
    }

    .post-content p {
    font-size: 16px !important;
    }

    You may want to go through the css stylesheet and look to see if you can do away with some of the !important declarations and maybe consult with the theme author to figure out why this is happening.

    Thread Starter ariatepper

    (@ariatepper)

    Bensita and mchelles, thanks for the reply!

    I tried using both of your codes but it just doesnt work

    The code:

    .post-content p {
    font-size: 16px !important;
    }

    DID work, and I am so happy!

    Now I need the entry title font to change. I think I’ll have to contact the theme author then.

    Thank you both!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please help! Changing font blog link’ is closed to new replies.