Jump to content

[solved] How to remove inline style from header (<ul id="header_nav")


Recommended Posts

Hello everyone, I'm new to Prestashop so please bear with me. I'm trying to remove the radiused border around the ul element with id="header_nav". I've attached two screenshots so that you can see what I'm talking about. I just don't know how or where to remove the inline style which keeps forcing it back to radiused when I hover over that section. Can you please help me? I'll give you whatever details you need. The site is not online yet.

Thanks very much in advance!

post-643576-22160_thumb.png

Link to comment
Share on other sites

Hello everyone, I'm new to Prestashop so please bear with me. I'm trying to remove the radiused border around the ul element with id="header_nav". I've attached two screenshots so that you can see what I'm talking about. I just don't know how or where to remove the inline style which keeps forcing it back to radiused when I hover over that section. Can you please help me? I'll give you whatever details you need. The site is not online yet.

Thanks very much in advance!

 

hello

 

you probably forgot about screenshots ;)

Link to comment
Share on other sites

it's not as easy as it seems but i know the solution :)

the problem is related to the ... jquery! i know that this sounds strange ;)

 

take a look into the:

modules/blockcart/ajax-cart.js

 

there you can find lines like:

$('#header #shopping_cart a').css('border-radius', '3px');
$(this).css('border-radius', '3px 3px 0px 0px');
$('#shopping_cart a').css('border-radius', '3px 3px 0px 0px');
$('#shopping_cart a').css('border-radius', '3px');

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...