How to add css top (top: 73px) on element sidebar when scrolling?

Posted in: Newspaper
Post count: 16

Hello,

I want to add css top on element sidebar when scrolling because i use sticky menu, so in order my widget on sidebar doesn’t crash with sticky menu when user scrolling up my site.

I have sample from demo newspaper (https://demo.tagdiv.com/newspaper_magazine/) and i have screenshot it & inspect element too, but i don’t know how to add it on my site. Anyone can help me? Thankyou before

Post count: 16
Post count: 18283

Hello !

That can be done using tagDiv Composer using the css tab. Take a look here: https://www.youtube.com/watch?v=fa7GenCHcBU

Thank you !

Post count: 16

Thanks for your answer, but i dont want add margin top on element/widget but i want add top space when my sidebar is sticky. So the sidebar when user scrolling up doesnt crash with sticky menu. I have seen this implementation on demo newspaper magazine pro.

I hope you know what i mean. So can i add this top space margin when sidebar is sticky? Because i need 100px top margin, if i added it on element. The design will look bad when sidebar is’t sticky.

I am waiting for your reply, thankyou

Post count: 18283

Hello !

Please provide a link to your website and we will take a look.

Thank you !

Post count: 16

Hello, Vlad!

This is my site https://www.nguliah.com

Thanks

Post count: 18283

Hello !

On the elements that you are using it is not possible to use a css, you will have to use tagDiv Composer and assign a +40px margin top css: https://www.screencast.com/t/3jaNfc6Nf1Eg

Even in our demo it gets cut: https://www.screencast.com/t/IuPs4h2AyK

Thank you !

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