Add Scroll Link to Existing Shortcode
-
Hi There,
First off all, I’d just like to thank you for such an incredible plug-in!I’ve been able to apply the scroll to every link on my page, but I have an exception that is being troublesome. It’s a button that just won’t cooperate. I want to click the button and have it scroll to “#contact”. The problem is that the button was created in a plug-in called Buttons X, and everything is built inside a wysiwyg framework, so there isn’t an opportunity to add code like “rel=’m_PageScroll2id'”. All it provides is a field for you to enter the link. Adding “#contact” simply makes it jump to the contact section of my site, with no sexy scroll.
So since adding the scroll code from within the Buttons X builder seems out of the question, can I add it to the button from the outside? Buttons X gives me a shortcode to place the button (which looks like: [btnsx id=”8927″]), so is there any scroll code I can place within those brackets, or surrounding them? Basically, is there a way to apply the scroll to an existing shortcode?
I don’t mind having to go to the actual HTML or CSS pages of my site, but if that’s the case, I might need a little guidance as to what to place and where.
Thanks so much!
The topic ‘Add Scroll Link to Existing Shortcode’ is closed to new replies.