Direct buttons to element on another subpage with custom ID

Hi everyone!
I found some threads with similar topics but not exactly what am I lookong for.

On the main page I made some trailer boxes which leads to emelements in offer subpage. At the beginning it was working well. But I don;t know why 2, maybe 3 weeks ago, it began to go bad. After clicking on trailer box it never land in the place I want but always one above. 

And moreover I wish my buttons on offer; http://marilynstudio.pl/oferta/  'scroll' not to 'jump'
I've enabled 'One page' on offer, but when you get there from trailer box on main page and you get for eg. url: http://marilynstudio.pl/oferta/#rzesy after scrolling or using buttons (prev/next) the url doesn't change. Can I somehow change that?

Thank you in advanced for the answer!
Agata

Comments

  • Hi,

    if the button was looking the same, it couldn't work because you didn't used scroll class for the button element. If you use custom links like buttons, you always need to set scroll class. We also checked the links and these works fine and are landing in the right place of course.
  • Sorry, I don't know why my prev comment disappeared...
    However... This are my buttons:

    [button title="Następna"  icon="icon-down-circled" icon_position="right" link="#rzesy"  color="theme" font_color="" large="5" scroll="10"]

    And I dont know what should I do else...

    And also I still dont know what to do with this "landing issue" coz I've checked that on a few devices and trailer boxes from main site still leads to wrong section.
    Or maybe not wrong but it lands with the beginning of the proper section hidden under bottom edge of the screen. I don't know how to explain it simpler....
  • If you look at http://themes.muffingroup.com/be/theme/shortcodes/typography/#buttons you see that you missed class="" attribute. So if you want the button to work with smooth scroll, the complete shortcode should be:
    [button title="Następna"  icon="icon-down-circled" icon_position="right" link="#rzesy"  color="theme" font_color="" large="5" scroll="10" class="scroll"]
  • Thanks a lot!
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.