• Hi, I have a problem with archive template. I created an archive template with Elementor Theme Builder, but the sidebar is not showing. It happens only with archive template because my other templates such as page or post, work regularly.

    I’ve tried every setup but nothing seems to be working. Analyzing the html I can see there’s no <aside> or primary content on the page, it’s like elementor is ignoring theme layout. I haven’t set full-width layout on elementor, so it should adapt to the layout of the theme.

    As I said I’ve tried every setup, on theme/customize, oceanwp settings and obviously on elementor.

    Could you please guys help me out?
    For the moment i solved by adding a sidebar widget with elementor but i’m not really satisfied with it.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    You found the correct solution, As Archives are created with Elementor templates, so it needs to add the SIDEBAR WIDGET to your elementor template because Oceanwp doesn’t control the elementor design/settings.

    Thread Starter lmiscoli

    (@lmiscoli)

    Hello,

    Thanks for replying.

    I’m still a bit confused. I don’t get why if I create a template for archives I have no sidebar while if I create a template for post or pages I do have sidebar.

    The main point is since i defined width and other settings for container and sidebar in oceanwp theme settings, i gotta do the same for archives created with elementor, but my other tempaltes as pages and post get inserted inside oceanwp container so i don’t understand why archives can’t do the same.

    If I keep settings like now, when I change sidebar width in oceanwp theme settings I have to do the same for elementor and that’s a waste of time.

    Basically all I want is to have the sidebar and get my archives elementor template get inserted inside #content-wrap #primary #content as my post elementor template does.

    Hello,

    Please try to add the below code in the functions.php file and check.

    function owp_wc_filters($class) {
       if (is_shop() || is_product_category() || is_product_tag() || is_product_taxonomy()) {
                $class = 'right-sidebar';
        }
    

    PS- Change the condition according to need.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Elementor Theme Builder Archive no sidebar showing’ is closed to new replies.