Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1236764
    yhshin1020
    Participant

    Hey,

    I am going for a look like the picture below.

    I want to be able to make a few changes to the main sidebar I have on my website.

    1) remove the border around the list.

    2) decrease spacing between list items

    3) remove the arrow > icon on the left of each item.

    4) change the font size and font family of the items.

    Thanks!

    #1236767
    yhshin1020
    Participant
    This reply has been marked as private.
    #1236791
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .widget_nav_menu ul li a, .widget_meta ul li a, .widget_pages ul li a {
        border: none;
        box-shadow: none;
        padding: 5px 15px;
        font-size: 18px;
        font-family: 'Lato', sans-serif;
    }
    .widget_nav_menu ul li a:before, .widget_meta ul li a:before, .widget_pages ul li a:before {
        display: none
    }

    Hope it helps 🙂

    #1236814
    yhshin1020
    Participant

    How do I remove the border around the sidebar?

    Thanks!

    #1236825
    Thai
    Moderator

    Please also add the following CSS:

    .widget ul, .widget ol {
        border: none;
    }

    Hope it helps 🙂

    #1236881
    yhshin1020
    Participant
    This reply has been marked as private.
    #1237238
    Lely
    Moderator

    Hi There,

    1.) Please use this:

    .widget_nav_menu ul li a:hover,
    .widget_meta ul li a:hover,
    .widget_pages ul li a:hover {
        background-color: transparent;
    }

    I can see you have this custom CSS to make the color yellow on hover and when it is active:

    .widget a:hover {
        color: #eea904 !important;
    }
    .widget_nav_menu .current-menu-item > a {
        color: #eea904 !important;
    }

    2.) Use this:

    .x-sidebar .widget {
        margin-top: 2em; /*Adjust this accordingly to your preferred spacing*/
    }

    Hope this helps.

    #1237509
    yhshin1020
    Participant
    This reply has been marked as private.
    #1237515
    Lely
    Moderator

    You’re welcome!

    Please also use this:

    .widget_nav_menu .current-menu-item>a {
        background-color: transparent;
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1236764 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>