Image Info Box: title dimension and viewport

Posted in: Newspaper
Post count: 26

Hi all,

I would like to change title and description text dimension according to viewport (reducing for mobile for sure). Seems that I cannot do that. Do you have any advice?

Thanks,
Max

Post count: 26

additional point: it should be dependend on the page in order to avoid that any image info box will apply this rule.
Thanks

Post count: 18283

Hello !

Please provide a link to your website so we can take a look.

Thank you !

Post count: 26

Hi,

the website is https://fitnessperlei.it/ and the image I’m referring to is the big one on the home page (only this one!).

I tried with “Advanced CSS” section on Theme Panel without success. I expected a unique and fix data-td-block-uid value while it is not like that (it changes every page refresh) so I don’t know how to apply this style only on this image block.

I did something like this:

div[data-td-block-uid="tdi_60_ee8"] div.tdm-image-description h3.tdm-title-md{font-size:20px!important}

but it doesn’t work due to the reason explained above. By deleting the div[data-td-block-uid=”tdi_60_ee8″] it works but it is applied to everything with a NOT controlled way.

I have two additional questions:
1. how can I show a component once I have hidden it from tagdiv composer UI? I cannot select it once hidden…
2. How can I load a different element according to the viewport? I don’t want to “play” with hidden style because that means two images are loaded (increasing the size of the page).

  • This reply was modified 6 years by Maxyct.
Post count: 18283

Hello !

The text changes you should be able to edit them using tagDiv Composer. There’s no need for css.

1. Simply select another viewport, you should be able to see and remove it.

2. Unfortunately this option is not avilable at the moment.

Thank you for your understanding !

Post count: 26

Hi,

you said “The text changes you should be able to edit them using tagDiv Composer. There’s no need for css”. I don’t think so. Title end description size is not dependent on viewport. Could you please clarify with a screenshot how can I do it?

Thanks,
Max

Post count: 18283

Hello !

As you can see here if you’re using a tagDiv Cloud library template you can fully edit it: https://www.screencast.com/t/ctwiX370SYC3

Thank you !

Post count: 26

I’m just editing my Home Page where I’ve added The Image Box Info Element (using tagdiv composer).

If I change the size on desktop, it will remain the same fo all the viewport. It is the same if i change the size on mobile: it will be the same for all viewports. So, it is not dependent on viewport.

What kind of TagDiv Cloud library template are you referring to?

Thanks,
Max

  • This reply was modified 6 years by Maxyct.
Post count: 18283

Hello !

Sorry for the misunderstanding !

So in order for you to have different styles you will have to edit them from here on each viewport: https://www.screencast.com/t/32jAsiIEaKy

Thank you !

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.