This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Alignment of main navigation

Resolved 3 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

Hello.
I´ve centered the main navigation with this code:

.main-navigation ul {
	text-align: center;
}
.main-navigation ul li {
	display: inline-block;
	float: none;
}

Is it possible to align the subitems left?

Thanks in advance, Tom

URL: http://web64352.customer.xenway.de/wordpress/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 11 years, 5 months ago

    Hi Tom

    Thanks for running Vantage, please try adding the following to your Custom CSS:

    .main-navigation ul ul li { 
    text-align: left;
    }
  2. Tom Wöltge 11 years, 5 months ago

    Thanks Andrew. That did the job.

  3. Andrew Misplon Staff 11 years, 5 months ago

    Super; glad that helped. I’ll amend that last selector to this menu alignment snippet in future.

    All the best with your project.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread