Archived topic
Centered featured image. GP 3.0.0 Beta 1
9 replies · Started by Longinos on September 19, 2020
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.
Hi there,
can you disable your cache so i can see what the issue is ?
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?
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
Hi Leo
What caching are you seeing?
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
Ah! Autotimize... minified, unified and injected in the head all the css... I go to diable it.
Now it is disabled.
I believe you have this CSS added that's causing the issue:
.featured-image {
width: fit-content;
}
I will try to supress it, and come back to notify.
P.S. It worked, Thx
No problem :)