Adding an arrow next to menu elements

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon May 20, 2013 1:57 pm
Reply with quote
Report this post
Hi,
I would like to add a dropdown arrow next to every menu element as an image.
Adding into menu.css the class
Code: Select all
a#menu.haschild{
background-image:(/arrow-down.png) top right;}

didn't worked.
The image is uploaded into template/images and into template/css/menu folders.
What am I doing wrong? :?

Thanks in advance,
Kind regards,
User avatar
Gold Boarder

GK User
Mon May 20, 2013 2:16 pm
Reply with quote
Report this post
Hi,
can you attach your image again? Becasue I don't see any image.
User avatar
Gold Boarder

GK User
Tue May 21, 2013 10:32 am
Reply with quote
Report this post
Here I send attached the arrow I want to add. It must be on the right side of every menu element with some margin if possible. The website to do it is http://tiendanueva.negre.es/

Thanks in advance,
Kind Regards,
User avatar
Gold Boarder

GK User
Wed May 22, 2013 8:26 am
Reply with quote
Report this post
Try this code in override.css
Code: Select all
#gkExtraMenu li.haschild {
background: url('../images/arrow_down.png') top right no-repeat;
}

remember to enable override.css option in template settings.
User avatar
Gold Boarder

GK User
Wed May 22, 2013 11:28 am
Reply with quote
Report this post
Hi Konrad,
Thank you for your assistance, although the code is added into override.css the image is still not displaying in the menu, it is maybe a question of the image path?
User avatar
Gold Boarder

GK User
Wed May 22, 2013 11:39 am
Reply with quote
Report this post
I checked your override.css in browser and I don't see this code inside this file.
User avatar
Gold Boarder

GK User
Wed May 22, 2013 6:30 pm
Reply with quote
Report this post
Hi Konrad M,
yes, the code is located in override.css line 161
The menu has a padding between elements, could it be the problem?

Kind Regards,
User avatar
Gold Boarder


cron