Hello,
At our company, we are setting up our blog with theme Newspaper, child theme iGossip…
I may have found a bug. Is it something I modified or a bug from you, tagDiv?
On a single post page, when I set a featured image with a photo in portrait orientation, i.e. with height > width, I see image is positioned top on the top of the box. And would like the image to be “center center”.
This is because of a CSS rule within the HTML code typed like this :
<style>
/* custom css */
.tdi_23_553 .tdb-featured-image-bg{
background: url('https://blog.cadeau-maestro.com/wp-content/uploads/2019/10/tasses-putain-de-tasses-x5.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center center%;
padding-bottom: 640px;
} ...
I assume the % character should not be here.
Can you investigate? If because of you, may you correct it in next patch? If because of me, can you give me a hint on which file I should change?
I managed to bypass this behavior setting up a custom CSS. But it isn’t very clean.
.tdb-featured-image-bg {
background-size: cover;
background-position: center center!important;
}
Hope you’ll be able to help me.
Thank you.
Best regards,
Romain Bourgin, webdeveloper at Cadeau Maestro
I think it is a bug from you. I can fix it using 50 instead of center in the tagDiv composer modifying the template, block “Single Post Bg Featured Image”, tab General, option Image V alignment.
Have a great time developing the patch. 🙂
Hi,
For me this is working normal -> https://i.imgur.com/FBD7ymd.jpg -> https://i.imgur.com/hNmJl6t.jpg
Please make sure that you have the latest version of Newspaper them v10.2 and WordPress 5.3
If the problem, persist, please deactivate the child theme and try again.
If there is still a problem, please provide me a link where I can inspect it.
Thank you!
Hi Calin,
I’m using the latest WordPress and latest Newspaper.
Where are you from, tagDiv team? Because you don’t seem to understand what I’m writing. Maybe because none of us are native English speakers. I’m from France.
Your colleague (Vlad S) wasn’t understanding my posts too.
I’ll try to explain the problem differently.
Is it normal that I can write “center” for “Image V Alignment” option if we should only provide a number from 0 to 100? Is it foolproof? May the tagDiv team improve this behavior in the future?
By the way, our blog is in restricted access mode. Only us can see it right now.
Thank you! Have a nice day,
Romain
Hi,
I think that you want to have more control over the section from featured image that you want to display, you’ll like this to be center not center top, if is so then this can be adjust like this -> https://i.imgur.com/F9BHagw.png -> https://i.imgur.com/bm7cTyW.png -> https://i.imgur.com/xByAPmm.jpg
Hope this is will help better!
Thank you!