torchy
Forum Replies Created
-
Forum: Plugins
In reply to: [Sticky Side Buttons] Not Displaying Buttons on Certain PagesYou can do it with CSS. Ideally you would use the CSS stylesheet of a Child Theme. But if you don’t know how to do that, there is usually an “additional CSS” area of a theme where you can override the current CSS.
The first thing to do is to look at the body tag of the special pages to find a class (that ideally they share), and that is also different from the standard pages. This is usually generated automatically by using a different template. So, for example, “page-template-business”.
Then hide the Sticky Side Buttons by adding this exact code:
#ssb-container{visibility: hidden;}So the whole CSS code should be (with your particular name substituted):
.replace-with-your-page-template-name #ssb-container{visibility: hidden;}for this example:
.page-template-business #ssb-container{visibility: hidden;}For multiple pages with different class names, do it multiple times:
.page-template-business #ssb-container{visibility: hidden;}
.page-template-commerce #ssb-container{visibility: hidden;}I needed to do this for a site that I am setting up, and it worked for me.
Forum: Plugins
In reply to: [Sticky Side Buttons] Adjust vertical positionYou can do this by overriding the CSS. Ideally do this in the style sheet of a Child Theme, but you might not know how to do that. In that case, you should hopefully have an “additional CSS” text area in your theme. Add it there.
Enter this CSS code:
#ssb-container {top: 0%;}
With 0% = the very top. It is currently set at 30% as the default. You might want to experiment with different % settings to get it exactly where you want it.