• Resolved bschatz

    (@bschatz)


    Here’s the link to my site:
    https://www.geardistrict.com/

    Each post title is a link to the single post page. However, I cannot get my custom CSS to carry over to the post titles on any single post page. It works fine on my main page, as well as my category pages. Here is the custom CSS I’m currently using that affect the post title / post links.

    .post .title a:link, .post .title a:visited {
    color: #000000;
    font: bold 25px Arial;
    }

    a:link, a:visited {
    color: #E56717;
    text-decoration: none;
    }

    Any help would be greatly appreciated : )

    Thanks,
    Bryan

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

    Yes, it will not working since the post title on your front page code html is:
    <h2 class="title"><a href="https://www.geardistrict.com/alternative-apparel-eco-heather-zip-hoodie/" title="Permalink to Alternative Apparel Eco-Heather Zip Hoodie" rel="bookmark">Alternative Apparel Eco-Heather Zip Hoodie</a></h2>

    then your single page html is:
    <h1 class="Title"><a href="https://www.geardistrict.com/alternative-apparel-eco-heather-zip-hoodie/" title="Permalink to Alternative Apparel Eco-Heather Zip Hoodie" rel="bookmark">Alternative Apparel Eco-Heather Zip Hoodie</a></h1>

    then, to have the same modification as your front page, then you can put it on your custom.css:

    .Title {
     font: bold 25px Arial !important;
    }
    
    .Title a{
     color: #000!important;
    }

    This one will affected your front and also single page title

    Thread Starter bschatz

    (@bschatz)

    Thank you very much, Shinjing! That worked perfectly.

    I appreciate your quick and accurate response : )

    Best,
    Bryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post title color and font on single post page’ is closed to new replies.