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.
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!
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!
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; }
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!