Jump to content
Sign in to follow this  
bsaul

List-style none on main nav but bullets on sub menu items?

Recommended Posts

bsaul    1
bsaul

Hi

At http://blog.aliumpartners.com/ I've added the bullets the client wants for the sub-menu items, but they also show up on the main navigation items - and we don't want that. I'm aiming to replicate their main site at http://www.aliumpartners.com/.

And can I work out how to have one but not the other? No... Have tried all kinds of combinations, and none work, so far...

So if anyone can help, that would be wonderful.

Thank you.

Babs

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

This is because you're targeting all the menus instead of just the sub menu, replace your current code with the code below.


#site .sf-menu li ul li {
list-style: square inside url(http://blog.aliumpartners.com/wp-content/uploads/2012/10/bullet.jpg);
}[/CODE]

  • Like 1

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
bsaul    1
bsaul

Thanks Danny :)

I really must spend time nailing CSS

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No problem :D

The topic was marked as resolved.

  • Like 1

Please search our forums, before posting!

Share this post


Link to post
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

Sign in to follow this  

  • Similar Content

    • Louis
      By Louis
      The title says it all. I checked out the forum and the last post about this issue was back in 2012 and they suggested adding in the <ul> and <li> to the post's html. That's already there and so I'm sort of stuck. 

      And I actually had another question so I'll just post it here. 

      Is there any way to increase the height of the excerpts and be able to put a picture underneath the Title so that it shows up in the excerpt? 
       
      and is there a way to delete the revisions of posts? I don't want to take up unnecessary space.
       
      Thank you,
       
      Louis
       
       
      incase you need my website it is www.gutjourney.com 
    • dawsonbarber
      By dawsonbarber+
      First, this is misfiled under Bullets because I can't find a topic prefix for Floating Icons / Social (nor can I find a sub forum under Products for the developer).
       
      Anyway, activating Floating Icons / Social plugin results in a near-blank page on mobile on a site using WP Touch.
       
      Here's the error message:
       
      Fatal error: Call to undefined function pl_add_options_page() in/nas/wp/www/staging/abbyreblog/wp-content/plugins/dm-floating-icons/dm-floating-icons.php on line 318
       
      Please advise.
    • dgsarnow
      By dgsarnow+
      I am putting together some Hero sections and I would like to know if there is any way to include an <ul> list in the subtext section.
    • Redita
      By Redita
      I disabled a store bought section plugin ("Bullets") and all of the rest of plugins to do some troubleshooting. When I activated it again all sections created with "Bullets" were gone.
       
      Developer says "I believe that is normal behavior for any DMS section because it is a section that can be placed on any page - there are no global settings to save in the database".
       
      Is that so? If I deactivate and re-activate a DMS store plugin will I lose the content?
       
      Everything is up to date.
       
       
    • mtaus
      By mtaus+
      On the page below, I have a Hero section which contains an unordered list that with a few list items. However, when I add <ul> tags around the list items all of the bullet points disappear. If I remove the ul tags, the the bullets will disaply, but I don't think this is valid HTML.
       
      Any suggestions would be appreciated
       
      http://blog.abodo.com/apartment-search-app/
       
      Wordpress 3.9.1
      PageLines v1.1.8
×