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
Hello,
My main website uses a One Column layout but I'm using a separate template with a Two Column layout for my Wordpress blog. The problem I'm having is that on my main site the mobile menu is on the left side, which is what I want, but the blog mobile menu is on the right. I want the blog widgets to be on the right so I have selected Columns Layout to be right. I can't figure out how to keep that the same and have my mobile menu on the left so it matches the rest of my site.
Any ideas?
Offline
I don't think that's possible. You're best option is to either move the mobile menu to the right in your one-column template or move the tray column to the left in your WordPress template.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Is there a reason we don't have that control?
Offline
So you want the righthand column to slide in from the left side? The reason we don't offer that control is because it makes not a lot of sense. At best, it would make the designer UI confusing and unintuitive.
Your options to achieve consistency are:
1) For your one-column template, set the "Columns Layout" option to "Right" so that your mobile menu matches the blog.
2) Use custom CSS to reposition the menu trigger.
body[data-layout~="1col"] .page__toggle__trigger[for="page__toggle__T1"] {
-webkit-box-ordinal-group: 2;
-webkit-order: 1
-ms-flex-order: 1;
order: 1;
}
Offline
Maybe I didn't explain my question clearly.
My main website uses a one column layout. When on a mobile phone, for example, the mobile menu is on the left, which I like, per the image below.
Main Site mobile ref image
I have elected to use a two column layout for my blog with the main blog on the left and the 2nd column (widgets, etc) on the right (although not visible on my phone per the image below). For website continuity I would like the mobile menu to continue to be on the left side. Why does the menu have to be on the right side just because I have elected to position column two on the right side?
Mobile Blog ref image
I'm not sure why my question/request does not make sense.
Last edited by grover_c (2017-03-04 06:40:59)
Offline
have you tried Matt's custom css? On my test site, it moved the mobile menu icon from the right hand side to the left.
When clicking it, however, the menu and sidebar widget stuff still slides in from the right, following the page design.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I will try it, but why is the menu tied to column two? What am I missing or not understanding? BTW, I'm not using the slide out option so I never see the slide.
Last edited by grover_c (2017-03-04 07:33:12)
Offline
one little correction. If you want this to affect your blog page, then it looks like the css needs to be altered slightly for the 2 column layout
body[data-layout~="2col"] .page__toggle__trigger[for="page__toggle__T1"] {
-webkit-box-ordinal-group: 2;
-webkit-order: 1
-ms-flex-order: 1;
order: 1;
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
My guess for the reason the menu icon is tied to the same side that the column is on is because it's just good design.
Just a guess though.
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.
I still don't understand why being tied to column two is good design and column one is not. But maybe I'm the only one.
Offline
I tried the code and it didn't do what I was looking for. I don't want the actual menu, or the menu trigger, to ever be on the right side, always the left, no matter if I'm using my two column blog or my one column website. Is this possible?
Offline
The code will move the menu trigger to the left hand side of the mobile view on a page with a two-column layout. The actual trays will appear on the right since that's how your page is designed.
I don't know if it's possible to also have the tray appear on the left side on mobile devices when the page has been designed for the tray to be on the right.
It might be possible with custom css. Probe the selectors with the browser's inspector and see what 's there. It might just be a matter of changing the data-position value
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
The css controlling those trays looks pretty daunting. Moving a tray on a mobile device to the opposite side of what it was intended is beyond my css skills.
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, because I've chosen a two column layout and selected right in order to put the widgets on the right side of my blog, it means I've designed the menu to be on the right as well? I don't understand why the menu must be tied to the column orientation. Shouldn't you be able to choose the menu side regardless of which column is on the left and which on the right? How is that bad design or unintuitive for a user if the menu is always in the same place.
Thanks
Last edited by grover_c (2017-03-04 09:41:57)
Offline
That's a question for Matt to answer.
remember, the mobile navigation goes in the tray and the tray goes where you've assigned it, either on the left or the right. What you're requesting sounds simple, but after a few years of being around this stuff, I've seen that things that seem simple rarely are.
But maybe Matt has has a solution.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I didn't fully realize the mobile menu was in a tray, although I was starting to suspect it based on the seemingly interchangeable use of the word menu and tray in this thread. I know understand the issue a bit more.
Still it would be very helpful to have a separate selector for "Columns Layout" and the mobile menu layout. Or at last a custom css option.
Thanks again.
Offline
The menu is in the tray, wherever that tray is assigned (left or right). Tray01 is used in the one and two-column layouts; Tray02 joins the fray for the three-column layout. Regardless of alignment, Tray01 always appears to the left of Tray02.
Offline
I understand now. So I guess that means that there is no way to keep my mobile menu on the left side of my main site and my blog if my blog uses a right column layout. Correct?
Last edited by grover_c (2017-03-05 00:43:03)
Offline
Yep. Like I said, if you want consistency, then you'll need to switch the column location for the blog, or the Backlight templates.
Offline
Pages: 1