Cotton Rohrscheib

The Cotton Club Blog & Podcast

  • Home
  • About
    • Resume
    • Disclaimer
    • Privacy Policy
  • Blog
    • Faith & Family
    • Marketing & Tech
    • Farm & Business
    • Entertainment
    • Health & Wellness
    • Urban Farming
    • Weekend Projects
  • Media
    • Books
    • Newsletter
    • Photo Galleries
    • Instagram Feed
    • Video Archives
    • Podcasts
    • Music Playlists
  • Marketplace
    • Poshmark
  • Connect
    • Need a website?
    • Schedule Meeting
    • Rohrscheib Capital
    • Make Payments
You are here: Home / Marketing & Tech / CSS Fix for #nav li & FeaturedContent Plugin

CSS Fix for #nav li & FeaturedContent Plugin

October 2, 2008 by Cotton Rohrscheib Leave a Comment

I have been using a lot of Brian Gardners themes for starter templates on my wordpress projects. In place of the tabber.php function I have been going with the FeaturedContent plugin because it seems to be a little smoother.  I have ran into some issues though with the drop down navigation on a lot of the Revolution Themes.

The drop downs will usually show up underneath the FeaturedContent Gallery on the home page.  I did some looking around last night and saw where Brian had posted a fix for this on the Revolution Support forum, it goes like this:

Locate your #nav li and #nav li li in your style.css file and change them to this:

<span style="color: #606060;">   1:</span> #nav <span style="color: #0000ff;">li</span> {
<span style="color: #606060;">   2:</span> <span style="color: #0000ff;">float</span>: <span style="color: #006080;">left;</span>
<span style="color: #606060;">   3:</span> <span style="color: #0000ff;">margin</span>: <span style="color: #006080;">0px;</span>
<span style="color: #606060;">   4:</span> <span style="color: #0000ff;">padding</span>: <span style="color: #006080;">0px;</span>
<span style="color: #606060;">   5:</span> z-index: <span style="color: #006080;">15;</span>
<span style="color: #606060;">   6:</span> <span style="color: #0000ff;">position</span>: <span style="color: #006080;">relative;</span>
<span style="color: #606060;">   7:</span> }
<span style="color: #606060;">   8:</span>
<span style="color: #606060;">   9:</span> #nav <span style="color: #0000ff;">li</span> <span style="color: #0000ff;">li</span> {
<span style="color: #606060;">  10:</span> <span style="color: #0000ff;">float</span>: <span style="color: #006080;">left;</span>
<span style="color: #606060;">  11:</span> <span style="color: #0000ff;">margin</span>: <span style="color: #006080;">0px;</span>
<span style="color: #606060;">  12:</span> <span style="color: #0000ff;">padding</span>: <span style="color: #006080;">0px;</span>
<span style="color: #606060;">  13:</span> <span style="color: #0000ff;">width</span>: <span style="color: #006080;">150px;</span>
<span style="color: #606060;">  14:</span> z-index: <span style="color: #006080;">10;</span>
<span style="color: #606060;">  15:</span> <span style="color: #0000ff;">position</span>: <span style="color: #006080;">relative;</span>
<span style="color: #606060;">  16:</span> }

Note: This seems to do the trick.  This just basically adds the z-index and position to the CSS.  I also have tried this on the #subnav li and it also works there.

About Cotton Rohrscheib

The Cotton Club is a monthly podcast hosted by me, Cotton Rohrscheib. I'm a 52 year old entrepreneur w/ ADHD, OCD (and now AARP) that refuses to grow up as I grow old. I have collaborated and invested in hundreds of projects throughout my career in multiple industries such as; technology, healthcare, and agriculture. I also have 25 years experience in the marketing industry as a co-founder of an award-winning advertising agency. I will undoubtedly cover a wide variety of topics on my podcast while sharing some really crazy stories and situations that I've been fortunate to witness firsthand. I also have a book coming out in 2025 titled, "Mistakes were Made"

Leave a Reply Cancel reply

You must be logged in to post a comment.

  • Email
  • Facebook
  • Instagram
  • LinkedIn
  • Twitter

Recent Updates

  • Getting a Late Start in the Garden
  • Online Marketplace Coming Soon!
  • Recent Google Photos API Changes Breaks WordPress Plugins
  • Donna’s Accident & Road to Recovery
  • Meet me at #F2F26 “Farming for Your Life” on February 24-25 in Omaha, Nebraska

Blog Categories

  • Blog (431)
  • Entertainment (377)
  • Faith & Family (154)
  • Farm & Business (297)
  • Health & Wellness (37)
  • Marketing & Tech (587)
  • Podcasts (32)
  • Urban Farming (23)
  • Weekend Projects (5)

Listen & Subscribe

Blog Archives

Join the Cotton Club!