OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Change background color of one menu item (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Change background color of one menu item

dejansoftware (User)
Expert Boarder
Posts: 134
graphgraph
User Offline Click here to see the profile of this user
Change background color of one menu item 6 Years, 3 Months ago
Karma: 0  
I would like one menu item to make a little bit noticeable than others.

I think that changing background color of this item would be best solution.

Please see attachment.

Can you help me to create something like this?

Thanks a lot.

Dejan
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Change background color of one menu item 6 Years, 3 Months ago
Karma: 101  
We need see URL to site and full detail description what need do

Regards
Andrew
Logged Logged
The administrator has disabled public write access.
dejansoftware (User)
Expert Boarder
Posts: 134
graphgraph
User Offline Click here to see the profile of this user
Re:Change background color of one menu item 6 Years, 3 Months ago
Karma: 0  
you know my url www.mojstan.org

I just use free template because it is in english so you can understand.

So, if you open menu item "IZNAJMI STAN" you will see 6 sub menu items.

So, How can I just for first sub menu item change background color so it become more attached to users. See picture:
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Change background color of one menu item 6 Years, 3 Months ago
Karma: 101  
Dear


In order to change the color for this under the menu item you will need to pass
you_site/templates/your_theme/css/style.css

and at the bottom of the file, paste this code

ul.nav.navbar-nav.menu li:nth-child(2) .nav-child li:first-child
{ background: #your_color; }

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
dejansoftware (User)
Expert Boarder
Posts: 134
graphgraph
User Offline Click here to see the profile of this user
Re:Change background color of one menu item 6 Years, 3 Months ago
Karma: 0  
Hi,

I add this 2 lines at the bottom of the style.css in my you_site/templates/your_theme/css/style.css

But, nothing changed, everything is the same.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Change background color of one menu item 6 Years, 3 Months ago
Karma: 101  
I am sorry,

code need look next:
ul.nav.navbar-nav.menu li:nth-child(2) .nav-child li:first-child {
background: #your_color;
overflow: hidden;
}

Regards
Andrew
Logged Logged
The administrator has disabled public write access.
Go to top
»