Scroll-Up Button Container

Posted in: Newspaper
Post count: 27

Hello,

Is there css code to tell the scroll up button to stay inside a 1200px container. I don’t want the button to go beyond border of my page. Like this website (tagdiv) has the button on the edge of the screen and I don’t want my button outside the main column/container.

  • This topic was modified 6 years by headline.
Post count: 35449

Hi,

Yes, this can be adjusted with custom css, just let me know how you’ll link to be the button Scroll-Up and I will provide a code for you.

Thank you!

Post count: 27

“let me know how you’ll link to be the button.” Not sure I understand this statement?

Post count: 27

“let me know how you’ll link to be the button.” Not sure I understand this statement?

Post count: 35449

Hi ironoak,

Sorry, I was not clear, tel me how you’ll like (where) to be set this button -> https://i.imgur.com/nLCEoBT.png
.td-scroll-up {
right: 15%;
}

The code need to be set in theme panel> custom code> custom css.

Thank you!

Post count: 27

Thank you Calin that’s hugely helpful. I had one other request: I’m trying to set the css for text decoration underline, but I cant get the code right. I want the titles to be underlined on every page but the home page. Is there css code to exclude the homepage? Nothing I’ve tried has worked yet. This is the closest I’ve gotten:

p, .td-module-title:hover {-webkit-text-decoration: underline;
text-decoration: underline; }

Post count: 35449

Hi,

If I’m right the code that you provide as example is setting the underline for entire website, if is so then you nee to make only some small changes to remove it from homepage.
.home p, .home .td-module-title:hover {
-webkit-text-decoration: none;
text-decoration: none; }

Now you need to use both codes, your we’ll set the underline and mine it will remove it, but only for homepage.

Let me know if this is working!
Thank you!

Post count: 27

Thank you Calin, everything is working perfectly now!

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