• Resolved cloudfe

    (@cloudfe)


    Hello,
    I use the Headway Theme, and before updating to 3.2.5 today I always used Headway live css editor to edit the ASM plugin, and it worked. But since I updated today code like this

    .advanced-sidebar-menu.widget ul li,
    .advanced-sidebar-menu li {
       padding: 3px 0;
       list-style-type: disc;
       list-style: disc;
    }

    doesn’t work anymore (it does if I put it in the wordpress editor).
    I also tried with
    !important,
    but nothing.
    I would like to keep using the live css method because it allows me to keep the custom css when I upgrade the plugin.
    Do you have any idea what could have happened?

    Thank you

    https://www.ads-software.com/extend/plugins/advanced-sidebar-menu/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Please post a link to a page where you are using the menu.

    Thanks.

    Thread Starter cloudfe

    (@cloudfe)

    Plugin Author Mat Lipe

    (@mat-lipe)

    The styling appears to be working as normal.
    The new version of the plugin handles the styling exactly the same as the previous version.

    I am not familiar with the Headway Theme. This may be related to a recent update the theme or another plugin that may be conflicting with the live css editor in some way.

    Another option for you to adjust the css safe from updates is to create a folder in your theme named “advanced-sidebar-menu”. It looks like your theme may be in this location /wp-content/themes/hw-child-theme/.
    Once you have created this folder, you may copy the sidebar-menu.css file from the plugin’s views folder. This file can then be edited at will and will not be overwritten when you update the plugin.

    Hopefully this helps.

    Cheers.

    Thread Starter cloudfe

    (@cloudfe)

    I see, I’ll try with a child them.
    One question: is there any way to use the functions.php file of the child theme to edit the php of the plugin (and so keeping the custom code when I upgrade the plugin)?

    Plugin Author Mat Lipe

    (@mat-lipe)

    Yes. `
    The plugin supports overwriting any of files in the views folder by simply copying them to same folder mentioned above in your theme.

    Otherwise, you may also extend the plugins classes and then use methods you create.

    To overwrite the entire behavior of one or both the widgets you may extend the widget classes, use
    remove_action( 'widgets_init', 'advanced_sidebar_menu_widgets' );
    And then add register your own classes for the widgets.

    If there is something specific you are trying to do, please create a new thread with the details and I will see if I can assist you.

    Thread Starter cloudfe

    (@cloudfe)

    Ok, I tried with a child theme, and it worked – the only thing is I had to use the “!important” code. But now updating should be safe.

    Thank you ??

    Hi couldfe,

    Please mail me at [ redacted, support is offered via the forum and not email ]. It’s urgent.

    Plugin Author Mat Lipe

    (@mat-lipe)

    Good Morning couldfe,

    It looks like the forum strips out email requests. Please create a thread to ask you question, or contact me through the contact form on the plugin’s website.

    Cheers

    Plugin Author Mat Lipe

    (@mat-lipe)

    Marking as Resolved

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Advanced Sidebar Menu] Custom css doesn't work like in 3.2.3’ is closed to new replies.