Site logo

[Resolved] Centered featured image. GP 3.0.0 Beta 1

Home Forums Support [Resolved] Centered featured image. GP 3.0.0 Beta 1

Home Forums Support Centered featured image. GP 3.0.0 Beta 1

  • This topic has 9 replies, 3 voices, and was last updated 5 years ago by Leo.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1449703
    Longinos

    Hi
    I have set centered for the featured image for post in customizer. It show centered in firefox but not in chrome.
    The only way I found to center is adding margin-left and margin-rigth auto to the css for the featured-image div.
    In the attached url, the small image size make it more obvious.

    #1449837
    David
    Staff
    Customer Support

    Hi there,

    can you disable your cache so i can see what the issue is ?

    #1450177
    Longinos

    Now the html cache is disabled, you can see the header x-pj-cache-status, but is allways miss, so the page is served from outside the cache.
    ¿Need to disable autoptimize?

    #1450208
    Leo
    Staff
    Customer Support

    Hi there,

    I’m still seeing some caching involved so it’s really tough for us to debug the issue.

    I tested using Chrome on my install and it worked without any issues. Take a look at the clip here:
    https://www.screencast.com/t/Kzb1sZikxUZy

    #1450222
    Longinos

    Hi Leo
    What caching are you seeing?

    #1450225
    Leo
    Staff
    Customer Support

    I can’t see the name unfortunately.

    But everything is minified as seen here so there must be some sort of caching going on:
    https://www.screencast.com/t/rlBCEaY3

    #1450227
    Longinos

    Ah! Autotimize… minified, unified and injected in the head all the css… I go to diable it.

    Now it is disabled.

    #1450228
    Leo
    Staff
    Customer Support

    I believe you have this CSS added that’s causing the issue:

    .featured-image {
        width: fit-content;
    }
    #1450233
    Longinos

    I will try to supress it, and come back to notify.

    P.S. It worked, Thx

    #1450245
    Leo
    Staff
    Customer Support

    No problem 🙂

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