Hi guys,
I'm running a website based on BT Arise template (Joomla 2.5). I tried everything but cannot change the width of dropdown menu childcontent. No changes in padding, margins and width I applied with firebug really make it. Please be so kind and take a look at the website: www.etoile.pl. I just have no idea what else can I do to adjust it...
Thanks!
Hi Michal if you can make it
Hi Michal
if you can make it is firebug then it must be specificity causing the problem.
Show us what you have tried and we might be able to help.
Hi Tony, Thank's for your
Hi Tony,
Thank's for your reply!
Well, I tried applying fixed width for highlighted elements:
I also tried to make it with padding & margin values for those elements in a couple of css files within my template and jt3 plugin.
Nothing actually changes Oh, once I got menu items wrapped. That's all
Best,
M
Specificity
I took a glance at the html source. These dropdowns each have several levels of nesting, and each level has an in-lined style attribute which sets the width. Inline style attributes trump the style sheets. See ยง6.4.3 Calculating a selector's specificity.
You will need to edit the html itself or the template, to remove those instances of style="" before your style sheet/s will have any effect.
cheers,
gary
Hi Gary, Thank you! Turns out
Hi Gary,
Thank you! Turns out it's not a matter of css. Well, I'm not sure if I can do it without causing any serious damage on the layout;)
Best,
m