• Resolved gettinger

    (@gettinger)


    I’m trying to do something really simple, as in change the H1, and H2 tags but I’m having a really hard time actually doing it.

    Here is the code i am using:

    .header_title h1{
    font-size: 65px;
    line-height: 20px;
    margin-bottom: 5px;
    text-align: center;
    margin-top: 5px;
    }

    https://test.actionunited.org/philadelphia/

    I want to change the text “Philadelphia” to blue and make it larger. I am using a child theme.

    Thanks in advance!

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

    Is this the kind of thing your trying to achieve?

    Screenshot

    If so, try:

    .page-id-34 h1.entry-title {
      color: #0068b3;
      font-size: 65px;
      margin: 20px 0;
      text-align: center;
    }

    and paste in your child theme’s style.css

    Site’s looking great btw ! ??

    Cheers,

    Luke the Daft Duke

    Thread Starter gettinger

    (@gettinger)

    Yes that worked!

    Thank you!

    MariusG

    (@marius_codeinwp)

    Thank you Luke for offering support.

    BTW, that really is a great website! ??

    Kind regards,
    Marius

    When I add a page and use the H1 header it looks great in the edit page, but when I update it, it doesn’t look like the edit page. It’s smaller. I tried the code above but it didn’t work.
    My site is https://www.thedigitalmarketingshop.com

    I just realized its not the entry-title i’m trying to change but the first line in H1 reading Why Inbound Marketing…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing the H1, h2, color, size’ is closed to new replies.