Jump to content

Archived

This topic is now archived and is closed to further replies.

rmaxsg

Sub menu inline

Recommended Posts

rmaxsg

How can i display my Sub menu

1.display inline 

2.no hightlight background color

 

Sorry i know this going be a lot code. but this is my client needs, Thank you for your time.

 

 

 

 

Share this post


Link to post
Share on other sites
rmaxsg

I think is got to do with this

 

body .dropdown-menu {    
position: absolute;    
top: 100%;
left: 0;   
z-index: 1000;
display: static;
float: left;
min-width: 160px;    padding: 5px 0;    margin: 2px 0 0;
list-style: static;    
background-color: none;
border: none;
border-radius: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

Share this post


Link to post
Share on other sites
sheilahoff

Not sure what you mean by inline? Do you want the secondary items to be horizontal? I think you're correct about getting rid of the blue highlight. I'd just make it white myself.


Sheila Hoffman | Hoffman Graphics | Seattle

Share this post


Link to post
Share on other sites
rmaxsg

Yup i did remove the background. yes i mean secondary items to be horizontal. could you help me ? 

Share this post


Link to post
Share on other sites
rmaxsg

Thank you, i used to be UberMenu user.  Because i spend hours in pagelines Nav. so didn't want to jump to 3rd buddy plugin.  But i try out UberMenu as your recommendation .  Guess what sheilahoff, i design the nav and get what i want within 30mins. 

 

This is the image

Share this post


Link to post
Share on other sites
batman

Hi, if i understand

You can give a try at

 

dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a, .dropdown-menu li.current-menu-item > a { background-color: transparent;
    background-image: none;
    background-repeat: repeat-x;}
This code works fine at firefox
 
to compete to other browser is necessary change the background- image, this is green for example
 
.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a, .dropdown-menu li.current-menu-item > a {
text-decoration: none;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.5);
color: rgb(255, 255, 255);
background-color: rgb(33, 172, 80);
background-image: linear-gradient(bottom, rgb(39,207,95) 9%, rgb(34,172,80) 50%);
background-image: -o-linear-gradient(bottom, rgb(39,207,95) 9%, rgb(34,172,80) 50%);
background-image: -moz-linear-gradient(bottom, rgb(39,207,95) 9%, rgb(34,172,80) 50%);
background-image: -webkit-linear-gradient(bottom, rgb(39,207,95) 9%, rgb(34,172,80) 50%);
background-image: -ms-linear-gradient(bottom, rgb(39,207,95) 9%, rgb(34,172,80) 50%);
background-repeat: repeat-x;}
 
You change 
bottom, rgb(39,207,95) 9%, rgb(34,172,80) 50%;
for a transparent color
;)

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
sheilahoff

Glad to hear you got it working so easily and to your satisfaction. So does your secondary nav stay down when you're on those pages or are they just a standard rollover that drops down horizontally instead of vertically?


Sheila Hoffman | Hoffman Graphics | Seattle

Share this post


Link to post
Share on other sites

  • Similar Content

    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • dwpoyner
      By dwpoyner+
      Not sure exactly what is causing the issue. For some reason, why you view my site on mobile, the menu does not show up. It will pop up, but it is black. You can check it out here: http://dev.caryfbc.org. I'm also attaching a screenshot where I shrunk my browser down. Any suggestions?

×