Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Make simple theme nav menu page width


Go to End


3 Posts   1608 Views

Avatar
AD5XJ

Community Member, 35 Posts

3 March 2017 at 7:01am

I am customizing the simple theme into my own theme. and I would liike to make the nav menu in the header extend from column 1 to last column (page width).
I am not exactly clear how to do this and would appreciate some insight.

Keep in mind I am a SilverStripe newbie.

Avatar
martimiz

Forum Moderator, 1391 Posts

7 March 2017 at 3:02am

This isn't so much a SilverStripe issue, more of a css thing. But it seems like setting the width of the <ul> in templates/Includes/Navigation.ss to 100% seems to do the trick. Just a hunch, didn't test it any further then Firefox... Maybe take it from there :)

Avatar
AD5XJ

Community Member, 35 Posts

22 June 2017 at 3:49am

The width problem seems to be resolved. The problem I have now is with multilevel menus. I will post a separate question. Thanks martimiz