• Resolved overbridge

    (@overbridge)


    Thanks you for the Raft theme.

    It would appear that certain CSS properties for the image caption <figcation> element that have been customised (with the Styles Editor) are always overwritten when the page loads

    Those affected are:-

    1) color which always ends up being overwritten by the value of –wp–preset–color–raft-fg
    2) font-size which always ends up being overwritten by the value of –wp–preset–font-size–small
    3) font-weight which always ends up as 700.

    Main concern is 1) Please can you confirm ths is a bug as it can hardly be the intended behaviour.

    Many thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @overbridge,

    Thanks for choosing Raft, we’re glad you like it!

    I tried to replicate the behaviour on my test instance, but the settings made for the caption in the editor are displayed correctly on the published page – screenshot. If you still encounter the issue, please clear the cache (browser and plugin, if you use any caching plugin) and check if it helps.

    Have a nice day ahead!

    Thread Starter overbridge

    (@overbridge)

    Hi @luciamarinescu

    Many thanks for your reply. I will carry out further tests and report back

    Thread Starter overbridge

    (@overbridge)

    Hi?@luciamarinescu

    I have found a work around for the issue but as I still believe there is a bug so I will explain the issue.

    The annotated Chrome Developers Tools screen shot (I think) provides evidence.

    I have set the caption colour for teh site to red (for testing) using
    Appearance > Editor > select Styles icon > Select Colors > Caption (set to red)

    When I add an image with a caption from the media library the image displays but the caption is not visible

    Chrome Developers Tools (see screenshot)
    1) confirms the caption text is present
    2) shows that the caption text is being forced to the theme colour I have set for Background using Theme palette.
    [This means that the caption colour is identical to background and therefore not visible]

    Note that at the bottom of the screenshot Chrome reports caption colour is red (as I have set it) but the later CSS [copied below] forces the caption to be the theme background

    .wp-block-gallery.has-nested-images figcaption, figure.wp-block-image figcaption {
    color: var(–wp–preset–color–raft-bg); opacity: .6;

    You will see that I have deselected this CSS in Chrome Developers Tools and so I get the red caption!

    My work around is to set the theme palette background to my required caption colour (black in practice) and set theme palette background (white) explicitly (#FFFFFF)

    Please can you check this out. If it is not a bug how can I stop the offending CSS being applied please.

    Many thanks

    Hi @overbridge,

    We appreciate your cooperation in reporting the issue you’re encountering. We are sorry for the inconvenience, and we have confirmed the problem. A bug report has been created and forwarded to our product development team for review.

    Our developers prioritize the highest-priority issues first, so we cannot provide a specific timeline for resolution.

    Thank you for your time!

    Hi @overbridge,

    I am happy to share the issue is fixed in the last update for the theme.

    Best regards,

    Thread Starter overbridge

    (@overbridge)

    Hi Stefan Many Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Posible bug: Limited Caption Customisation in Raft Theme’ is closed to new replies.