Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1468824

    Hey Folks,

    I would like to know what is the best way to personnalize sidebar menu appearence.
    I need your advice : do i have to use CET, child theme or add short CSS ?

    For example, if i want adding a frame with background color and border-radius around sidebar or addind icons or list-style, where can i do that ?

    May i create alternate sidebars menu than i can choose when i edit page i.e
    No sidebar
    left sidebar
    right sidebar
    —> *right personnal sidebar 1*
    —> *right personnal sidebar 2*
    —> *left personnal sidebar 1*

    Thanks for your precious help.

    Best regards,
    James

    #1468861

    Hey James,

    For additional styling, you would need CSS. You can create new sidebars under Appearance->Widgets, then you can select to show your sidebar in the Layout menu on each page.

    Best regards,
    Rikard

    #1468898

    Thanks for your help Rikard.
    I added two sidebars :
    – 001 SIDEBAR MENU
    – 002 SIDEBAR MENU
    It’s very convenient to select to show sidebar in the layout menu on each page but i don’t know where i can personnalize CSS for each sidebar ?

    I suppose i could use mega menu monster plugin to do it in easy way but i would like avoid to use to much plugins if possible.

    Best regards,
    James

    #1468906

    Hi,

    If you want to add your own CSS, then you would have to inspect the element in question in your browser and find the correct selector. You can then add CSS in Quick CSS in the theme options.

    Best regards,
    Rikard

    #1476017

    Hi Rikard,

    I followed your advice and it works quite well thank you, but I cannot format the link of the current page appearing in the menu widget.

    I started a topic about this :

    Currently the “current page link” appear in black but i would like to change it as i wish (like background color, font size,…).
    I know it’s a simple CSS to add but I don’t know to do it.

    Can you help me with this?

    Best regards,
    James

    #1476195

    Hi,
    It looks like you have already found a solution, is this true?
    Screen Shot 2025 02 02 at 11.39.48 AM

    Best regards,
    Mike

    #1476313

    Hi Mike,
    Thank you.
    Yes, I finally found the solution on my own ;-)

    I post here my CSS.
    I know this can be improved.
    However it could be usefull for other users that read this post so i hope this could help.

    Best regards
    James

    /* ———————————— */
    /* ——- WIDGET MENU PERSONALIZE ——- */
    /* ———————————— */

    #top .widget ul {
    font-size: large;
    line-height: 121%;
    }

    /* —— personalize current page link —— */
    /*—- adding icon for current page link —- */
    #top .widget ul li.current_page_item {
    background-image: url(“icon.png”);
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 14px;
    font-weight: 900 !important;
    }

    /*—- adding specific background color for current page —- */
    /*—- and adding little spacing between letters —- */
    #top .widget ul li.current_page_item a {
    background-color: #c7eafc;
    padding: 0% 4% 0% 4%;
    letter-spacing: 0.007em;
    border-radius: 9px;
    }

    /* — HOVER – adding background color for current page — */
    #top .widget ul li.current_page_item a:hover {
    background-color: #c7eafc;
    padding: 0% 4% 0% 4%;
    letter-spacing: 0.007em;
    border-radius: 9px;
    }

    /* —— HOVER – appearence for all links (but current page) —— */

    #top .widget ul a:hover {
    background-color: gold;
    padding: 0% 4% 0% 4% !important;
    letter-spacing: 0.007em;
    border-radius: 9px;
    }
    #top .widget ul.children inherit a {
    background-color: none;
    padding: 0%;
    border-radius: 9px;
    }

    #1476317

    I think this is better.
    I tryed my side it works
    Best regards,
    James

    /* ———————————— */
    /* ——- WIDGET MENU ——- */
    /* ———————————— */
    #top .widget ul {
    font-size: large;
    line-height: 121%;
    }
    /* —— personalize current page appearence —— */
    #top .widget ul li.current_page_item {
    background: url(“icon.png”) left no-repeat;
    padding-left: 14px;
    font-weight: 900;
    }
    /* link appareance of current page */
    #top .widget ul li.current_page_item a,
    #top .widget ul li.current_page_item a:hover {
    background-color: #c7eafc;
    padding: 0 4%;
    border-radius: 9px;
    }
    /* —— HOVER links appareance (but current page) —— */
    #top .widget ul a:hover {
    background-color: gold;
    padding: 0 4%;
    border-radius: 9px;
    }
    /* deleting background color */
    #top .widget ul.children a {
    background-color: transparent;
    padding: 0;
    border-radius: 9px;
    }

    #1476360

    Hi,
    So you found a soloion? Shall we close this thread

    Best regards,
    Mike

    #1476393

    Hi Mike,

    yes i found a solution, thank you.

    just one thing : when i reduce window, the menu does not take up the full width. I probably changed something, somewhere. Any idea what I should check to resolve this last issue?

    Best regards,
    James

    #1476486

    Hi,

    Thank you for the update.

    The menu widget menu seems to be resizing as expected. Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:

    1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
    2.) Locate the option to upload a file or an image.
    3.) Select the screenshot file from your computer or device and upload it to the platform.
    4.) After the upload is complete, you will be provided with a shareable link or an embed code.
    5.) Copy the link or code and include it in your message or response to provide us with the screenshot.

    Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.