Wordpress title won't change size

Discussion in 'HTML & Website Design' started by fadetoblack22, Nov 16, 2022.

  1. #1
    Between the posts and pages on my website, the h1 size won't change:

    -https://harrysnell.com/how-to-supercharge-your-motivation/

    -https://harrysnell.com/emotional-eating-course/

    I've added to the CSS - h1.entry-title {font-size: 100px;}

    In the first link (post) it changes, but in the second (a page) it doesn't. It seems to be overridden somewhere and I can't work out where.

    Any ideas what's going on?
     
    fadetoblack22, Nov 16, 2022 IP
  2. Sumit_Singh

    Sumit_Singh Well-Known Member

    Messages:
    748
    Likes Received:
    67
    Best Answers:
    6
    Trophy Points:
    100
    #2
    As I understand both are different pages (I mean both pages are in different directories).
    How to Supercharge Your Motivation is in harrysnell . com/blog and Emotional Eating Course is not in the same directory.

    Add this as custom CSS for -https://harrysnell.com/emotional-eating-course/ and it will work

    .ast-single-post .entry-title, .page-title {
    1. font-size: 55px !important;
    2. font-family: sans-serif !important;
    3. font-weight: 700;
    }
     
    Sumit_Singh, Nov 17, 2022 IP
    fadetoblack22 likes this.
  3. fadetoblack22

    fadetoblack22 Well-Known Member

    Messages:
    2,399
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Thank you! Genius! It worked :)
     
    fadetoblack22, Nov 17, 2022 IP
  4. Sumit_Singh

    Sumit_Singh Well-Known Member

    Messages:
    748
    Likes Received:
    67
    Best Answers:
    6
    Trophy Points:
    100
    #4
    Glad to know it worked for you. ;)
     
    Sumit_Singh, Nov 17, 2022 IP
    fadetoblack22 likes this.