Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8746297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:10:21+00:00 2026-06-13T12:10:21+00:00

I’m having trouble styling the Sidebar Menu with my CSS. I just need it

  • 0

I’m having trouble styling the Sidebar Menu with my CSS. I just need it working with the current CSS so I can tweak it to how I need it to look. I’ve stated the Sidebar Menu in functions.php and created a Menu within the Admin area of WordPress, but it doesn’t seem to change anything at all.

Here is the link to the page (The Sidebar Menu is where it says Our Sectors) : View Page

Below is the code from the sidebar.php file.

<div id="mod_sidebar">
    <?php if ( ! dynamic_sidebar( 'Sidebar' )) : ?>
    <ul>

        <li id="sidebar-nav" class="widget menu">
            <h3><?php _e('Navigation'); ?></h3>
            <ul>
                <?php wp_nav_menu( array( 'theme_location' => 'sidebar-menu' ) ); /* editable within the WordPress backend */ ?>
            </ul>
        </li>

        <li id="sidebar-search" class="widget">
            <h3><?php _e('Search'); ?></h3>
            <?php get_search_form(); /* outputs the default WordPress search form */ ?>
        </li>

        <li id="sidebar-archives" class="widget">
            <h3><?php _e('Archives') ?></h3>
            <ul>
                <?php wp_get_archives( 'type=monthly' ); ?>
            </ul>
        </li>

        <li id="sidebar-meta" class="widget">
            <h3><?php _e('Meta') ?></h3>
            <ul>
                <?php wp_register(); ?>
                <li><?php wp_loginout(); ?></li>
                <?php wp_meta(); ?>
            </ul>
        </li>
    </ul>
    <?php endif; ?>
</div><!--mod_sidebar-->

And below is basically the CSS for that Menu :

#sidebar-nav,
#sidebar-nav ul {list-style: none; padding: 0; margin: 0; border-radius: 5px; -moz-border-radius: 5px; font-weight: bold;}
#sidebar-nav a {display: block; padding: 10px; width: 210px;}
#sidebar-nav li {float: left; width: 150px;}
#sidebar-nav li:hover {background-color: #5da3e3; border-radius: 5px; -moz-border-radius: 5px;}
#sidebar-nav li ul {position: absolute; width: 210px; left: -999em; background-color: #1662a7;}
#sidebar-nav li:hover ul {left: auto; border-radius: 5px; -moz-border-radius: 5px;}

Can anyone help me?!

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:10:21+00:00Added an answer on June 13, 2026 at 12:10 pm

    Try this (but you can to use class <div class="some_class_name">):

     #mod_sidebar,
        #mod_sidebar ul {list-style: none; padding: 0; margin: 0; border-radius: 5px; -moz-border-radius: 5px; font-weight: bold;}
        #mod_sidebar a {display: block; padding: 10px; width: 210px;}
        #mod_sidebar li {float: left; width: 150px;}
        #mod_sidebar li:hover {background-color: #5da3e3; border-radius: 5px; -moz-border-radius: 5px;}
        #mod_sidebar li ul {position: absolute; width: 210px; left: -999em; background-color: #1662a7;}
        #mod_sidebar li:hover ul {left: auto; border-radius: 5px; -moz-border-radius: 5px;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I have just tried to save a simple *.rtf file with some websites and
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
Does anyone know how can I replace this 2 symbol below from the string
I need a function that will clean a strings' special characters. I do NOT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.