inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Jan 14, 2019 5:30:03 GMT -8
I keep trying, and failing, at centering the text for this correctly.
<a id="navigation-skip" href="#content" accesskey="s" class="aria-hidden" title="Skip Navigation">Skip Navigation</a> <a href="#" accesskey="d" title="Open Menu" onclick="proboards.hotkeys.activate(Keys.d); return false;"></a> <div id="navigation-menu" class="ui-helper-clearfix"> <ul role="navigation"> {foreach $[navigation.menu]} <li><a{if $[navigation.menu.active]} class="state-active"{/if} href="$[navigation.menu.href]"{if $[navigation.menu.accesskey]} accesskey="$[navigation.menu.accesskey]"{/if}> $[navigation.menu.name] {if $[navigation.menu.notification.total]} <div class="tip-holder" onclick="window.location='$[navigation.menu.notification.href]'; return false;"> <div class="tip-number">$[navigation.menu.notification.total]</div> <span class="tip"></span> </div>{/if}</a></li>{/foreach}</ul></div> I managed somehow briefly make the text fall vertically so I switched it back lol but I'd still like it to be centered so it aligns with the the banner and welcome message.
|
|
Former Member
inherit
guest@proboards.com
256583
0
May 10, 2024 8:34:29 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 14, 2019 15:44:27 GMT -8
Aliana , is the forum in question the one from your signature or is it a different forum? Manipulating text alignment is usually a CSS issue.
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Jan 14, 2019 16:57:41 GMT -8
Yes, it's the same forum. Sorry I forgot to post the link prior!
|
|
#e61919
Support Staff
224482
0
1
May 9, 2024 16:24:54 GMT -8
Scott
23,355
August 2015
socalso
|
Post by Scott on Jan 17, 2019 14:48:54 GMT -8
Aliana , Go to Admin > Themes > Advanced Styles & CSS, Style Sheet. Make sure the correct theme is selected. Scroll to the very bottom of the CSS and on new line add this code: /* Center Navigation Menu */ #navigation-menu > ul, #navigation-menu > ul li { float: none; } #navigation-menu > ul { text-align: center; margin: 0 auto;} #navigation-menu > ul li { display: inline-block; } Save changes.
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Jan 18, 2019 21:41:18 GMT -8
Aliana , Go to Admin > Themes > Advanced Styles & CSS, Style Sheet. Make sure the correct theme is selected. Scroll to the very bottom of the CSS and on new line add this code: /* Center Navigation Menu */ #navigation-menu > ul, #navigation-menu > ul li { float: none; } #navigation-menu > ul { text-align: center; margin: 0 auto;} #navigation-menu > ul li { display: inline-block; } Save changes. Ah, much better. Thank you.
|
|