• Resolved Anna

    (@webowl)


    Please help! After an update (Astra or Starter template – I’m not sure), my post titles reverted to white. H1 is supposed to be white, but when I designed the site, I changed the blog post titles to black. Now they will not show up because it’s a white title against a white background. On the blog page the titles show up black, but disappears into white on the individual blog posts. I tried to fix it with the following additional CSS, but it won’t work:

    wp-block editor-post-title_input {color: black !important;
    }
    textarea#post-title-0.editor-post-title_input {color: black !important;
    }
    h1.entry-title {color: black text-decoration: none !important;
    }
    h1.itemprop=headline {color: black text-decoration: none !important;
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello, your code is wrong:

    h1.entry-title {color: black text-decoration: none !important;
    }
    h1.itemprop=headline {color: black text-decoration: none !important;
    }

    Correct:

    h1.entry-title {color: black;text-decoration: none !important;}
    h1.itemprop=headline {color: black; text-decoration: none !important;}

    Only this should be enough:

    h1.entry-title {color: black}

    You forgot ; betwen black an text-decoration!!

    Thread Starter Anna

    (@webowl)

    Hi jidwictut9, how cool is that! Just a semi-colon missing. And you spotted it. THANK YOU! After insertion, my titles are black. In CSS punctuation is so important …

    Most grateful,

    WebOwl

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After update, blog post titles will not convert to black color’ is closed to new replies.