Affixing a Responsive Menu and a Layout Grid as one

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
44MLB
 
 
Posts: 24
Joined: Sun May 27, 2018 11:55 am

Affixing a Responsive Menu and a Layout Grid as one

Post by 44MLB » Sun Oct 14, 2018 5:49 pm

Hi

I have used a Responsive Menu which is affix enabled (please see link below) in a Layout Grid together with the search icon, which in turn opens up a search box below. Is it possible to affix all these elements at the top of the page when scrolling up?

Also for some reason the Responsive Menu jumps out to the right when it reaches the top of the page!

http://www.ramsgatelifeboat.org.uk/test ... 10-18.html

User avatar
Pablo
 
Posts: 14112
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Affixing a Responsive Menu and a Layout Grid as one

Post by Pablo » Sun Oct 14, 2018 6:03 pm

An element with affix must be a direct child element of the page.
Because affix uses 'position:fixed', so the element cannot be in a container.

Related info:
https://www.w3schools.com/bootstrap/bootstrap_affix.asp

44MLB
 
 
Posts: 24
Joined: Sun May 27, 2018 11:55 am

Re: Affixing a Responsive Menu and a Layout Grid as one

Post by 44MLB » Sun Oct 14, 2018 7:39 pm

Thank you.

Is this also the reason for the menu jumping out to the right when it reaches the top of the page?

User avatar
Pablo
 
Posts: 14112
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Affixing a Responsive Menu and a Layout Grid as one

Post by Pablo » Sun Oct 14, 2018 8:11 pm

Correct.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests