The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Change navbar_font stylevar on a page
Hi guys,
I was trying to to change the font size of the submenu links in navbar on the CMS page but without any success . I tried adding a condition to the stylevar itself, adding a condition into vbulletin_chrome.css (that is the only template navbar_font stylevar is located?), I tried editing the css in vbcms_navbar_links but none of it worked. So how would I change the text size of the vbcms navbar submenu links? The ones that appear under Home tab, when I edit the cms to display them. Thank you! |
#2
|
||||
|
||||
Why not add it in a plugin using parse_templates hook location.
PHP Code:
|
#3
|
||||
|
||||
I tried it before but with a wrong hook.
Anyway, that did not work either, I used this code (since headinclude_bottom_css was not in my headinclude ?) Code:
if (THIS_SCRIPT == 'vbcms') { $template_hook['headinclude_css'].='<style type="text/css"> .navtabs ul li a {font-size: 20px;} </style>'; } |
#5
|
||||
|
||||
Thank you very very much Lynne, that worked well
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|