Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi all,
I will use a fixed vertical menu on the left side.
I tried with:
.page__pallet[data-position="T1"] {z-index: 2; position: fixed;}
that works but "the__copy" on the right side now overlaps the menu :-/
how to prefent this???
thx in advance.
Best regards,
Oliver
Last edited by volvoxturbo (2017-11-10 01:13:11)
Offline
no need for custom css for a fixed vertical menu. Just set it up in the page template > Navigation > Horizontal Navigation: Location: Disabled
then scroll down to Vertical Navigation and choose the location as either Pallet 1 or Pallet 2
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Hi Rod,
thank you for your fast reply.
That was what I did.
Again:
I have a pallet with a vertical menu on the left side and in the main column a gallery.
If I scroll down the gallery, the menu should not scroll.
;-)
Offline
link?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
sorry, www.oliver-blum.com
Offline
I don't see the menu moving at all. Viewing in Firefox and Chrome
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
but the content on the right side is overlapping the pallet :-(
Offline
I'm not seeing it. It all looks pretty good to me. Do you have a specific page this is happening on? A screen shot showing the problem?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
never mind, I just hovered over the menu and saw the problem. Maybe try reducing the pallet width?
If I expand the browser window enough (over two monitors), the problem goes away.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
why is it overlapping and what is the trick that it doesn't. Nether on small nor on large browser windows.
Best regards,
Oliver
Offline
I don't know. Matt will need to take a look.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
So thank you again Rod for your help :-)
I tried it with decreasing the pallets width, but the problem is: if the main content overlapse the left pallet, the content is not centered :-/
Best regards,
Oliver
Last edited by volvoxturbo (2017-11-09 02:30:20)
Offline
have you tried decreasing the Gallery Max-Width in the album template's Thumbnail Grid section?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Even if the templates content area is 920px it's always larger and overlaps the pallet with this css active:
.page__pallet[data-position="T1"] {
z-index: 2;
position: fixed;
}
Last edited by volvoxturbo (2017-11-09 03:09:37)
Offline
I now disabled:
.page__pallet[data-position="T1"] {
z-index: 2;
position: fixed;
}
what else can I do to have everything in order but with a menu which will not scroll if youre scrolling the page (fixed menu)???
Best regards,
Oliver
Offline
I'm not an expert on the position property, but I think that when you set position:fixed; that you're positioning relative to the browser window and taking the element out of the normal document flow. This is probably why the rest of the page content is moving over. It's filling the space vacated by the menu.
You probably need to set some positioning for the page content too.
This seems to do something:
.main__column > .content {
left: 120px;
You'll probably need to put that in a media query so it doesn't mess things up on smaller devices.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
thank you Rod,
tried it but it only worked for one size and is not flexible :-/
...
Offline
yeah, you'd probably have to put it in multiple media queries and tailor it to several widths.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
thanks Rod :-)
Is there maybe a smarter solution???
Offline
probably. I'm just not that smart
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Oliver, the problem is your custom styling. Disable the stylesheet at /backlight/custom/css/homepage.css and the problem goes away.
Offline
Hi Matt,
OK, I did a reset of the homepage.css.
Now the question again: how to fix / nail the vertical menum, that it will NOT scroll?
Best regards,
Oliver
Offline
Hi all,
got it to work with:
.page__pallet {
position:fixed;
left:0;
width:200px;
height:100%;
}
main {
padding-left:200px;
}
Thanks Rod & Matt for your help :-)
Best regards,
Oliver
Offline
Pages: 1