Centre menus in Style 3 header.

Posted in: Newspaper
Post count: 76

Hi

Firstly thank you for the hard work you put into developing another seamless upgrade to the brilliant Newspaper theme.

I am using the Style 3 header on http://www.womensgolf.com and I would like to centre align the top and main menus. Currently they are left aligned. Is there some custom CSS that will achieve this?

I have linked a picture of the current header.
src=”https://www.dropbox.com/s/xf5dqbq1mfvznjb/header.JPG?dl=0″ alt=”current header on womensgolf.com” />

Thanks
Richard

Post count: 20688

Hi,

Thank you for the appreciation, we constantly try to add more features in the theme and also easy to use for all users.

The menu items will be left aligned when you use the stretch options in the theme panel. If you were to remove the stretching of the menu and top bar they should be centered
https://www.screencast.com/t/QHQagdYL1
The main usage of the stretch options would be if the menu items are too many and they do not fit properly.

Thanks

Post count: 76

Yes thank you I have removed the stretch option but then it leaves a white background space at either end of the menu. I’ve also tried stretch container only.

The header background is set to the same blue as the menus. I can’t seem to find a color setting for that whole main menu row.

white background on either side of the main menu

color settings for main menu background

What am I doing wrong?

Richard

  • This reply was modified 8 years by Richard.
  • This reply was modified 8 years by Richard. Reason: adding images
Post count: 20688

You are doing nothing wrong, that header style is boxed by default. Now you could enter this code in the Theme panel->Custom CSS
https://www.screencast.com/t/MtwBNxdEbzA

.td-header-style-3 .td-header-menu-wrap {
background-color: #2c3240;
}

This would be a solution to also have the centered menus and a background color as you want.

Post count: 76

Thank you, Simion – that worked perfectly.

Best wishes,

Richard

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.