- Posts: 3
- Thank you received: 0
highlight selected items main menu
- 
        sassalos
 Inactive member
- 
            
				 Topic Author Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        
            
        
                14 years 4 months ago                #8311
        by sassalos
    
    
            
            
            
            
            
                                
    
                                                
    
        highlight selected items main menu was created by sassalos            
    
        Hi,
I'm trying to find a way to highlight the selected item in my main menu.
I couldn't found a solution from backend. I tried from the css files but no luck. Any help if possible?
Thank u in advance.
I'm trying to find a way to highlight the selected item in my main menu.
I couldn't found a solution from backend. I tried from the css files but no luck. Any help if possible?
Thank u in advance.
Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                14 years 4 months ago                #8324
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Re: highlight selected items main menu            
    
        Hi, we can help you just post your site link.    
Please Log in to join the conversation.
- 
        sassalos
 Inactive member
- 
            
				 Topic Author Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        - Posts: 3
- Thank you received: 0
            
        
                14 years 4 months ago                #8340
        by sassalos
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by sassalos on topic Re: highlight selected items main menu            
    
        Thank you, for the immediate reply.
I figure it out at last. Unfortunately I'm working localhost at the moment, so I don't have a site link.
The solution I came up with was:
From template_css.php line 98, I've taken ".column_left li.active a:visited, column_left a:visited" and set a different background and color. I wanted to set font-weight:bold; as well, but it didn't work.
I don't know if there is a simpler solution, but it worked for me, except from the last part that I described.
I figure it out at last. Unfortunately I'm working localhost at the moment, so I don't have a site link.
The solution I came up with was:
From template_css.php line 98, I've taken ".column_left li.active a:visited, column_left a:visited" and set a different background and color. I wanted to set font-weight:bold; as well, but it didn't work.
I don't know if there is a simpler solution, but it worked for me, except from the last part that I described.
Please Log in to join the conversation.
- 
        ivan.milic
 Support Staff
- 
            
				  
- Moderator
- 
              
        Less
        More
        
            
    
        - Posts: 14116
- Thank you received: 1639
            
        
                14 years 4 months ago                #8354
        by ivan.milic
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ivan.milic on topic Re: highlight selected items main menu            
    
        There is span nested in a so you cod get better hit if you add it to css path
.column_left li.active span{
font-weight:...
also you can use important flag if must:
.column_left li.active span{
font-weight:bold!important;
...
.column_left li.active span{
font-weight:...
also you can use important flag if must:
.column_left li.active span{
font-weight:bold!important;
...
Please Log in to join the conversation.
- 
        sassalos
 Inactive member
- 
            
				 Topic Author Topic Author
- New Member
- 
              
        Less
        More
        
            
    
        - Posts: 3
- Thank you received: 0
            
        
                14 years 4 months ago                #8364
        by sassalos
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by sassalos on topic Re: highlight selected items main menu            
    
        Thank you Ivan,
I followed your instructions and worked just fine.
 
    
I followed your instructions and worked just fine.
 
    Please Log in to join the conversation.
        Time to create page: 0.179 seconds    
    