Image alignment setting from TD Composer not being used.

Posted in: Newspaper
Post count: 36

Using the Hero image from the multipurpose shortcodes I’ve realised that the Image Alignment setting is being ignored. If I set for the image to be aligned along the top the outputted CSS still has:

background-position-y: center;

I can’t target it using live CSS either as the style appears to be renamed each load (ends in _rand)

NewsPaper 8.7, Tagdiv Multi Purpose 2.0

Post count: 22421

Hello,
Indeed the hero image settings do not work properly. I have added this to our todo list and fix it in future updates.
You can assign an extra class to the element in the general tab so it can be targeted with css.

Here is an example code where you target the custom class, not the random class:

.mycustomheroclass::before{
background-position: top center!important;
}

Thanks.

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