• Resolved cacarr

    (@cacarr)


    Exposure: Singular and Archive
    Handle: Manual

    I’ve read the previous thread regarding bullets appearing next to widgets in the Divi theme. Is there a way to address this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    When you use the “Manual” handle, I assume you display the sidebar with either the shortcode or the ca_display_sidebar code?

    If you use the latter, you can use these parameters:

    ca_display_sidebar(array(
        'before' => '<div id="sidebar" class="widget-area"><ul class="xoxo">',
        'after'  => '</ul></div>'
    ))

    The shortcode does currently not support those parameters, but generally I suggest that you use CSS to remove the bullets.

    Thread Starter cacarr

    (@cacarr)

    Actually, I selected CAS sidebar in a Divi Builder sidebar module.

    I’ll look into removing with CSS.

    As Divi is a very popular theme, it might be worth getting this sorted out at some point.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    I do not entirely remember how the sidebar module in the Divi theme worked, but the problem back then was that when using that and Content Aware Sidebars together – like in your case – the “default” sidebar markup would be used. Hence the bullets.

    I fixed that by making content aware sidebars always inherit the style/markup of the sidebars they replace/merge with, should they be called directly (as they do if you use the Divi sidebar module).

    Would it work for you if you, instead of using “Manual” handle, set it to replace your main sidebar? If you leave the Conditional Logic empty it should work the same as now, except the markup will be taken from the main sidebar.

    If not, please tell me more about your use case? Content Aware Sidebars is generally theme agnostic and ought to be able to handle any sidebars in Divi without using the built-in sidebar module.

    If you go the CSS way, this should work:

    #sidebar > ul,
    #sidebar .widget-container {
        list-style: none;
    }

    Thread Starter cacarr

    (@cacarr)

    Would it work for you if you, instead of using “Manual” handle, set it to replace your main sidebar?

    If not, please tell me more about your use case?

    I have two main post categories. For one of them, I use a right-sidebar layout with the main sidebar occupying the entire height of the page. For the other category, I’m using a full-width layout as I want a widget area to not occupy the entire side of the page — for that I’m using a CAS sidebar.

    If I replaced the main sidebar with a CAS sidebar, I would still need CAS to work with the sidebar module. Incidentally, I initially created a second CAS sidebar to replace the main sidebar for full-sidebar posts, but I could not get it to replace the main sidebar — resulting in an empty sidebar.

    I’ll give the CSS a try.

    Thread Starter cacarr

    (@cacarr)

    OK, this worked

    .et_pb_sidebar_0.et_pb_widget_area {
    	list-style: none;
    }

    Thanks.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Great that you found a solution!

    It is on the roadmap to give the option to change the markup of content aware sidebars, but as it is only necessary in rare cases, e.g. when you combine the plugin with other sidebar managers, it is not of high priority.

    On a sidenote, seing as it works now and you probably are fine with the solution, I need to make it more clear that using the “Replace” handle would not actually replace the main sidebar in your case.
    As – I presume – your Conditional Logic for the CAS sidebar is empty, it would mean that the CAS sidebar would replace the main sidebar under no conditions.
    However, the CAS sidebar would take the markup from main sidebar when you use it in the Divi sidebar module, and this could remove the bullets without CSS (depending on what markup your main sidebar has).

    I hope this makes sense.

    If you run into more problems, do not hesitate to open a new support thread here.

    Thread Starter cacarr

    (@cacarr)

    Ah, I see what you’re saying. I think I’ll give that a try.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Bullets in sidebar – Divi Theme – Resolution yet?’ is closed to new replies.