PDA

View Full Version : vbmenu_control Issue - Unsure of best way to resolve?


SpawnedX
07-08-2013, 02:26 AM
My website: http://www.automotive-technicians.com/forums

If you notice my menu bar has a nice bevel to it. Now if you go to one of the forums, and look at the search this forum drop-down menu, you will see the background image I have created to get my nice menu bevel is cuts a hideous line across the center. How can I make it so the search this forum drop-down menu does not use that background image but uses everything else?

--------------- Added 1373256878 at 1373256878 ---------------

What I have tried so far is to go into vbulletin-style.xml, copy the vbmenu_control template, paste a new template underneath it and change the variables I need change. Uploaded it back, and it doesn't work if I call the new template class.

tbworld
07-08-2013, 03:26 AM
I am a little unclear. I see a red line underneath forum tools, search this forum, but it is not cutting it in half. The bevel you are talking about is part of your "png" correct.
I see where the png is maybe not aligned and maybe that is the underline I am seeing. Am I on the right track?

What browsers have you checked this with. It might be why I am not seeing it the same way you are. I was using firefox v22.

SpawnedX
07-08-2013, 03:38 AM
I am using Chrome.

Basically what I did is this:

Downloaded the vbulletin-style.xml from the style manager upload/download section, and found this:


<template name=".vbmenu_control" templatetype="css" date="1373250531" username="Michael Costa" version=""><![CDATA[a:7:{s:10:"background";s:89:"#990000 url(http://www.automotive-technicians.com/forums/images/atfMenuBGMain.png) repeat";s:5:"color";s:7:"#FFFFFF";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:47:"padding: 3px 6px 3px 6px;
white-space: nowrap;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:9:"underline";}}]]></template>


Then underneath it I pasted this:


<template name=".vbmenu_navcontrol" templatetype="css" date="1373250531" username="Michael Costa" version=""><![CDATA[a:7:{s:10:"background";s:89:"#990000 url(http://www.automotive-technicians.com/forums/images/atfMenuBGMain.png) repeat";s:5:"color";s:7:"#FFFFFF";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:47:"padding: 3px 6px 3px 6px;
white-space: nowrap;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:9:"underline";}}]]></template>


Then I saved the file and tried both uploading this to replace the file in my install directory and by using the upload feature in the style manager.

Neither way allows me to call vbmenu_navcontrol as a class.

--------------- Added 1373258387 at 1373258387 ---------------

The bevel is part of my .png.