Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-11-12 04:29:50

cwazywabit
Member
Registered: 2013-12-26
Posts: 71

menu items in wpce4 align center in lr but align left on site

so im building a site in ce4 wordpress the nav bar is all set to align center and is doing so in lightroom but the actual top level nav on the wordpress site is aligning left what am i missing?

Offline

#2 2014-11-12 08:17:09

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: menu items in wpce4 align center in lr but align left on site

multi level navigation cannot be center aligned. In Lightroom, if you choose multi-level navigation you'll see that the only alignment options will be left, right, and none.
If you choose single-level navigation then you'll get left, right, center, and justify.

I'm guessing that if you choose to add sub levels in WordPress menus then the multi-level nav classes will be applied, eliminating center alignment. Just a guess though.

but be sure to post a link so Matt can 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

#3 2014-11-12 09:19:04

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: menu items in wpce4 align center in lr but align left on site

If you use the WordPress menu at all, then it switches to "drop-menu" mode. If you want the menu centered, then you will need to stick to the hard-coded menu out of Lightroom.


Matt

The Turning Gate, http://theturninggate.net

Offline

#4 2014-11-12 09:59:19

cwazywabit
Member
Registered: 2013-12-26
Posts: 71

Re: menu items in wpce4 align center in lr but align left on site

Right okay I've taken that on board cheers I've adjusted the padding etc to push it over

Offline

#5 2014-11-12 10:25:24

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: menu items in wpce4 align center in lr but align left on site

be sure to test that in a mobile browser. Or resize your desktop browser to mobile size to see what happens to the menu.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2014-11-12 10:30:53

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: menu items in wpce4 align center in lr but align left on site

Padding is not a good solution.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2014-11-13 05:30:27

cwazywabit
Member
Registered: 2013-12-26
Posts: 71

Re: menu items in wpce4 align center in lr but align left on site

sorry i didnt mean padding it was margin i used to bump it over a bit and tested on a few different browsers now and its within acceptable limits

Offline

#8 2014-11-13 13:42:41

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: menu items in wpce4 align center in lr but align left on site

Using margin and padding to approximate a center alignment is a bad solution. If you intend to use a drop-down menu, then it would be best to rethink your design for a left-aligned masthead and navigation.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2014-11-13 16:14:18

cwazywabit
Member
Registered: 2013-12-26
Posts: 71

Re: menu items in wpce4 align center in lr but align left on site

No intention of it plus it's only nudged a little

Offline

Board footer

Powered by FluxBB