• Resolved Adam

    (@ahardy42)


    I’m relying the posts page a lot, in other words a lot of people land on it, and I’m a bit frustrated with the inability to do anything to it via the Twenty Twenty theme.

    What I’m looking at now is the image caption. I’d like to make the caption smaller, and sit it in the middle of that caption bar under the image – or maybe even turn it off completely.

    I want to give credit to the photographers whose work I’m using and I would definitely show their “image credit to…” on the post page, because I get them all of Pixabay for free so it’s the least I can do.

    But here on the posts page, the caption bar is taking up a lot of real estate.

    Should I dive into the CSS and put something in my Additional CSS field? Or is there a plugin that lets me change the layout of the posts page? I certainly haven’t found it if there is.

    • This topic was modified 3 years, 7 months ago by Adam.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Adam

    (@ahardy42)

    Hi Everyone,

    I’ve been trying to do some CSS myself but not getting very far.

    How can change the background under the image where the caption is so that it’s the same background as the rest of the page. It’s using the header/footer background colour at the moment.

    Hi!
    I see everything in green. Did you manage to change the background on your own?

    To reduce the height, for instance, of the caption, this should work:

    figcaption.wp-caption-text {
    	margin-top:0.5rem;
    }

    Is this what you were looking for?

    Thread Starter Adam

    (@ahardy42)

    Hi Laly, thanks for the CSS.

    You’re right, the background has gone green (or blue-green to be precise). I’m not sure why. I am trying out some other changes but I didn’t think I’d published them yet – I must have accidentally though!

    Your CSS is good, I should be able to sort the colour if it reverts.

    @svetoslavg
    Please ask your question in a new topic instead of trying to take over someone else’s thread. I’ve removed your reply (which in fact was a question).

    At the same time, I’m closing this thread, since the original question seems to have been solved long ago.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tweak the style on Twenty Twenty blog posts page’ is closed to new replies.