• Hi Folks. First post on here for many years… sorry if this is in the wrong place/has already been covered.

    I’m trying to change the colour of the text on this page from grey to white.
    https://digital-reefs.com/?attachment_id=144

    The text was entered in the image description field in the media library. I can see some code options for this field but haven’t worked out how to change the colour so far… any ideas?

    The other quesion is about image justification when creating a post. I’ve got my image justified to the right but it is appearing on the left, and the text doesn’t want to wrap around it properly… page is here:

    https://digital-reefs.com/?page_id=40

    Again I’ve tried a few things but no joy.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @jclipperton
    Add this code to your style
    h1, h2, h3, h4, h5, h6, p, div{color:white !important}
    After that, be sure to clear the cache

    Hi @jclipperton

    You have given the css for color.

    h1, h2, h3, h4, h5, h6, p {
        color: #3a3a3a;
    }

    So to add white color, you need to replace the above css styles. You need to add
    color: white; instead of color: #3a3a3a;

    Thank you.

    Thread Starter jclipperton

    (@jclipperton)

    thanks!

    I’m afraid you are dealing with someone with very little knowledge of code etc ??

    Do I add this to the beginning of the text in the image description box?
    Or do I need to change it in the theme editor?

    • This reply was modified 2 years, 11 months ago by jclipperton.

    In your admin panel,
    go to Appearance > Customize > Additional CSS
    copy this code
    h1, h2, h3, h4, h5, h6, p, div{color:white !important}
    and click on publish button

    Thread Starter jclipperton

    (@jclipperton)

    fantastic – that worked. Thank you very much! ??

    Thread Starter jclipperton

    (@jclipperton)

    Any ideas how to solve the text wrap on the “about’ page?

    https://digital-reefs.com/?page_id=40

    I’ve tried to get my profile pic justified to the right side with the text wrapping around it… but it appears on the left, and the text doesn’t seem to have wrapped properly.

    Thread Starter jclipperton

    (@jclipperton)

    also… using this page as an example.. https://digital-reefs.com/?attachment_id=144

    is it possible to increase the size of the main image (the red fish). I guess the default size of the image shown on the media attachment page? Would this cause a problem if it was viewed on a small screen? (like a mobile phone?)

    Would it be possible to adjust the size images inserted into the image description (like the red fish at the bottom)?

    Your theme may have settings for resize images
    Of course, with this code you can increase the size of the photo
    .attachment img{width: 100%;}

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘image description text colour, and post image justification’ is closed to new replies.