4 replies [Last post]
michal_jetfloe
michal_jetfloe's picture
Offline
newbie
Sopot
Last seen: 9 years 18 weeks ago
Sopot
Timezone: GMT+2
Joined: 2012-07-31
Posts: 3
Points: 4

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... Puzzled

Thanks!

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 19 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

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.

michal_jetfloe
michal_jetfloe's picture
Offline
newbie
Sopot
Last seen: 9 years 18 weeks ago
Sopot
Timezone: GMT+2
Joined: 2012-07-31
Posts: 3
Points: 4

Hi Tony, Thank's for your

Hi Tony,

Thank's for your reply!

Well, I tried applying fixed width for highlighted elements:
megamenuetoilepl.png

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 Puzzled Oh, once I got menu items wrapped. That's all Wink

Best,

M

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 40 weeks 2 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

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

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

michal_jetfloe
michal_jetfloe's picture
Offline
newbie
Sopot
Last seen: 9 years 18 weeks ago
Sopot
Timezone: GMT+2
Joined: 2012-07-31
Posts: 3
Points: 4

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