• Resolved anitamb

    (@anitamb)


    Hi,

    I have tried everything and nothing is working. One of my pages is a category to which I will be posting from an app and I need the colours and sizes of those posts to change. This is going to be the page with the posts, and I also need the post its self to change when it is being read.
    The colour I want is #9DB668 and I want the post size to be bigger

    page

    Is there any way to do this? Thank you in advance,

    Anita

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

    This should be possible with some custom CSS and by targeting that specific category with some CSS.

    So to do this please try adding the following CSS code in the style.css file of your child theme or if your theme doesn’t have custom CSS tab add it in your site using the following plugin:

    https://www.ads-software.com/plugins/simple-custom-css

    .category-mb-at-work .entry-title a {
        color: #9DB668;
        font-size: 32px;
    }

    Replace color hex value and font size to what ever suits you the most, this will affect only that specific category titles.

    As for the visited links please add the following:

    .category-mb-at-work .entry-title a:visited {
        color: #000;
    }

    You’ll also need to replace color hex value here to the one of your choice, this will change the color of the links once the link is visited.

    Hope this helps ??

    Best regards,
    Bojan

    Thread Starter anitamb

    (@anitamb)

    Thanks, that worked great for the title.
    However the text of the post is still very small and the wrong colour. Is there a CSS that can be used to change the text of the post within that category? I mean the text saying ‘MB Woodcraft, specialist in wooden furniture in Lancaster…” that’s the text I need changing.

    Thanks

    Hey again,

    You can apply the same thing to the text as well, please try adding the following:

    .category-mb-at-work p {
        color: #81d742;
        font-size: 10px;
    }

    These are original values so feel free to change both to what ever suits you the most ??

    Cheers,
    Bojan

    Thread Starter anitamb

    (@anitamb)

    Thank you so much, that worked brilliantly. You’re a star.

    Thanks,

    Anita

    Hey Anita,

    Thanks for the kind words ?? Glad I could help!

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing colour and size in posts permenantly’ is closed to new replies.