Adding stroke to top of menu and Center alligning Menu Links

Posted in: Newspaper
Post count: 17

Adding stroke to top of Menu:

Is it possible to add a small stroke (line) to the top of the menu?

My logo area background and menu background are pretty similar colours and I think adding a small stroke to show where the divide is would really enhance the header area, is this possible?

Before:

After: (Desired Effect)

Centre Aligning Menu:

I noticed that my menu links are slightly below centre

Menu Link Allignment:

this may be because the height of the menu looks a bit big or the menu links themselves are just set below centre, I was wondering if it would be possible to either; reduce the height of the menu OR (preferably) align the menu links centrally?

Evenly Spacing out Menu Links:

One last quick thing,

is it possible to have the menu links spread outevenly across the menu like this?

thanks in advance!

(Sorry for listing but I figured it would be better than making multiple topics)

  • This topic was modified 12 years by Fly. Reason: fixed formatting
Post count: 388

You could use custom CSS, in the theme panel, for the stroke. A quick “inspect element” check suggests that the logo area is td-menu-background. A stroke would be a border. In the blog-stack style I find this class actually has “border-top 1px solid #ebebeb” already. Just change or add that class to have a border-top of whatever colour, style, and thickness you want.

Post count: 388

Meanwhile, this custom CSS(or that for a similar menu, not sure if it varies by stack) would allow you to vertically adjust the height of the text in the menu:

.sf-menu {
padding-top: 5px;
}

Change the 5px, of course, to whatever works. Note that line-height (from custom typography menu in theme panel) would also work but would not change the search button height.

For spacing you can add padding to the list items:

.sf-menu li {
padding-right: 15px;
}

Post count: 17

Worked perfectly! thanks a million

Post count: 6600

@TheMediumUTM Thanks!!

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