How do I style the sidebar menu as in the examples

6 replies3 participantsUpdated by Olga Barlow

  • Avatar: wielandsmith
    wielandsmith
    Participant

    The sidebar menu on the homepage lacks the styling as seen in the demos. See link in private content.

    Please, contact administrator
    for this information.

    6 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Please add this code in Custom css for page http://prntscr.com/kpxiip :

    .category-1 .product-categories h2 {
        background-color: #cda85c;
        padding: 20px 15px;
        color: #FFF;
        font-size: 16px;
        text-align: center;
    }
    .category-1 .product-categories > li > a {
        font: 13px/18px 'Roboto';
        display: inline;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding: 17px 0;
        padding-left: 20px !important;
    }
    .category-1 .product-categories {
        border: 2px solid #cda85c;
        margin-bottom: 0;
    }
    .category-1 .product-categories {
        margin-left: 0 !important;
        margin-right: 0;
    }

    Regards

    Avatar: wielandsmith
    wielandsmith
    Participant

    thank you – is there a way to make the header and footer full width?

    Avatar: wielandsmith
    wielandsmith
    Participant

    It didn’t work… Please see this page – https://thepetsupply.club/product-category/dogs/

    I need to change it on every page.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    The width of the footer can be changed via editing of your static blocks – http://prntscr.com/ku8tmv
    Please change the previous custom css code to:

    .category-1 .product-categories h2, #product_categories-1 h4{
        background-color: #cda85c;
        padding: 20px 15px;
        color: #FFF;
        font-size: 16px;
        text-align: center;
    }
    .category-1 .product-categories > li > a, #product_categories-1 li > a {
        font: 13px/18px 'Roboto';
        display: inline;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding: 17px 0;
        padding-left: 20px !important;
    }
    .category-1 .product-categories, #product_categories-1 {
        border: 2px solid #cda85c;
        margin-bottom: 0;
        margin-left: 0 !important;
        margin-right: 0;
    }
    #product_categories-1 h4{border: none;}
    

    Let me know the result.

    Regards

    Avatar: wielandsmith
    wielandsmith
    Participant

    of course! static blocks. The code didn’t work. Everything looks the same. These are shop pages… if that makes a difference?

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    If you want that styles as the default styles for that widget, not for the home page only then you need to use Custom CSS in theme options, not the page custom CSS. I have added correct code in your custom CSS.
    Check if this is ok for you.

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register