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.