This topic has 11 replies, 4 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Hey staff crew!
Why does the scroll-to-top button disappearing within displays < 770px [on mobile devices(!)] – even there where it’s absolute neseccary? On displays with > 770 px width it works.
Tested in 5 browsers (IE, FF, Opera, Chrome, Safari). It does affect also the theme with the support forum here, if ‘mobile version’ is enabled (TheLeader, too?).
Maybe you can fix it with the next theme update which comes around the ‘next days’.
Stefan
Hello,
Please provide us with link to the page and wp-admin access in Private Content.
Regards,
Robert Hall.
It’s also the same here in the forum! The scroll-to-top button disappears within displays <770px. You can test it here in your forum, too!
Hello,
Please add this code in custom.css file:
@media (max-width: 767px) {.back-to-top.hidden-phone.hidden-tablet {
display: block !important;
}}
How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).
Regards,
Eva Kemp.
Doesn’t work!
Tried few ways:
Hello
You may try this code:
.back-to-top {
display: block !important;visibility:visible!important;
}
With best regards
Brian Johnson
Maybe …
Nope, the same!
Please, forget what I said at least!
OK, now it works. I work with a child theme. Got an error in Firebug with: “file: …/theleader/custom.css not found”. Because I created the custom.css in the child-folder. But the theme search for it in the parent folder. I didn’t knew that. Now, I pasted the custom.css into the parent folder and it works!
Thank you for the code and your understanding. Sorry for the/my inconveniences.
Stefan
Last question: Some news about the theme and the update to 1.8?
Hello,
I’ve edited the code in custom.css file. Please clear browser cache and check the site.
Regards,
Eva Kemp.
Hey Eva, CSS code works great. Thanks a lot! At first I pasted the custom.css into the child theme folder. Nothing happend until I pasted in the parent theme folder. Finally I don’t want to use the custom.css and think it would be better to add “your” css to the responsive.css.
“child theme”
But now there’s another issue. I created a child theme and handle this with/over/about the style.css. Almost everything is fine. In the backend I can choose between “theLeader” or my child theme. Works! I added some lines to the style.css and pasted into the child folder. Works too!
But yesterday with your code above include the media queries (@max-width 767px) … I realize the child uses the responsive.css in the parent(!) theme.
Now my question: How do I set up the child right?
(Sorry, please excuse me & my bad english!)
Thanks in advance
Hello,
The details instruction is written in WordPress documentation:
http://codex.wordpress.org/Child_Themes
Please read it attentively.
Thank you.
Regards,
Eva Kemp.
Tagged: button, disappears, persuasive, scroll-to-top, themes, woocommerce, wordpress
The forum ‘TheLeader Support Forum’ is closed to new topics and replies.