[Resolved] Image Caption text left aligned – not centered!!

Home Forums Support Image Caption text left aligned – not centered!!

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1389676
    Stefan

    Hello Support,

    I have searched the support forum for answers that work to no avail. It appears that Generate Press needs to update their theme so if an image caption text is selected and centered, it should be centered in the final product. Currently the image caption text will left-align. This is using the WordPress editor, maybe GP CSS doesn’t go that far? Either way it isn’t aesthetically pleasing and it’s confusing.

    I played with the theme CSS, nothing worked. I wish I was better with CSS. Scroll down to the pictures of the rocks to get my point. Any help or guidance to remedy this issue would be much appreciated. Thank you!

    Regards,
    Stefan

    #1389846
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .wp-block-image figcaption {
        text-align: center;
    }
    #1390063
    Stefan

    Hello Leo,

    That did not work

    Stefan

    #1390068
    Leo
    Staff
    Customer Support

    It should absolutely work.

    I just checked the site but not seeing the CSS being added?

    How are you adding it?

    #1390162
    Stefan

    I hope so. Where should I add it? I added it initially to the main stylesheet via the WP dashboard, and then removed it after seeing no change (I refreshed and waited).

    #1390165
    Leo
    Staff
    Customer Support
    #1390173
    Stefan

    It worked, thank you so much! I added it via the WP -> customize -> additional CSS route

    #1390176
    Leo
    Staff
    Customer Support

    No problem 🙂

    Never a good idea to edit the theme’s core files.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.