Tagged: 

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #905840

    After the latest updates the sidebar is shown below, not any more on the right side.

    Would you please help me solving the Problem.

    Thank you in advance,
    Regards,
    Michael

    #905860

    Hey zwachm,

    If you are using full width elements on the page, like Color Sections or full width sliders, then the sidebar will display under them. Please use for instance a 1/1 element instead of a Color Section if you want the side bar to display to the right or left of your content.

    Best regards,
    Jordan Shannon

    #905911

    I am not tracking with the proposed solution. I am using 1/3 element layout and my “Left Sidebar” is showing up at the bottom of the page. Please help.

    #905915

    Hi,

    If possible, please provide admin info so we can log in and look into this issue further.

    Best regards,
    Jordan Shannon

    #905921

    Please see Private Content. If there is anything else you need, please let me know.

    #906040

    Hi Jordan,

    it is clear, that if I am using a color section (e.g. in the middle of the page) the
    sidebar is moved below that section. That’s ok for me and I am used to it.

    Since I am aboslutely sure, that the sidebar worked in September last year I activated
    a backup version.
    Voila: it Looks good and the sidebar appears below the color-section on the right side. Not on the very bottom of the page.

    Whithin HTML code I can see the difference:

    in the working (old Enfold) code the sidebar element “<aside class=”sidebar…”
    is located IN the “<div class=”container”>….</div>
    <!– close content main div –>
    <!– section close by builder template –>”
    section.

    In the current ENFOLD Theme the “<aside” Element is located WITHIN this “<div class=”container”>”
    section.

    To me it seems that the Variable $cm in template-builder.php causes the <div> to be
    closed before the sidebear is inserted.
    If I move the output of $cm after the get_sidebar(); function, it works!!

    Original Code of template-builder.php

    
            //only close divs if the user didnt add fullwidth slider elements at the end. also skip sidebar if the last element is
            if(!$last_el || !in_array($last_el['tag'], AviaBuilder::$full_el_no_section ) )
            {
                    $cm = avia_section_close_markup();
    
                    echo "</div>";
                    echo "</div>$cm <!-- section close by builder template -->";
    
                    //get the sidebar
                    if (is_singular('post')) {
                        $avia_config['currently_viewing'] = 'blog';
                    }else{
                        $avia_config['currently_viewing'] = 'page';
                    }
    
                    get_sidebar();
    

    Im am very sure, that I did not modify the code for that.

    Would you please look into it again.

    Thank you,
    Best Regards,
    Michael

    #906157

    Hi,

    one additional note:

    the $cm should not be inserted before calling the sidebar-function if $cm contains:

    
    </main><!-- close content main element -->
    

    Otherwise other layouts are having side effects!

    Regards,
    Michael

    • This reply was modified 6 years, 7 months ago by zwachm.
    #906494

    “should only not be” -> can you translate into proper grammar, so we can understand? Please.

    #906606

    Hi,

    The color section will occupy the whole space, for the sidebar to appear left or right, just drag down content elements without using Color Section. Hope this helps.

    Best regards,
    Nikko

    #906855

    Hi Nikko,

    I am not sure whether we are talking about the same.

    I want to Point to the issue, that below of a Color section the (right) sidebar is not shown on the right side.
    Instead the sidebar is put to the very bottom of the page. So it is no sidebar any more!

    Would you try to re-create the Situation on your test Environment, since I have the code-Change in place already!

    Best Regards,
    Michael

    #906859

    @dp012011: sorry, I did correct the original post. Hopefully now it is better to understand?

    #907666

    Hi,

    The sidebar looks ok when I checked the pages above. Is this fixed? If not, you can disable the pages’ sidebar and then use the Widget Area element instead.

    Best regards,
    Ismael

    #907780

    Hi Ismael,

    as I mentioned, I did a fix in source code.
    The original behaviour is still there. Please see the private links to my test site.

    The work around with the sidebar as Widget is no Option, since it worked before as it is supposed to.

    Regards,
    Michael

    #909079

    Hi,

    Thank you for the update. Please provide the login details to the test site. We would like to check the structure. Please note that the test site is using an old version of the theme, 4.1.2. Can you reproduce the issue on 4.2.2?

    Best regards,
    Ismael

    #910948

    Hi Ismael,

    ok. Now the productive page is copied to the test site without my mentioned source code correction.
    Version is now 4.2.2

    You can find the Login in private section.

    Thank you,
    Best Regards
    Michael

    #911471

    Hi,

    Thank you for the info.

    There’s an extra div after the title container, wrapping the sidebar and the content. It’s not there if the plugins are deactivated. Please activate the plugins one at a time to find the cause of the issue.

    Best regards,
    Ismael

    #911560

    Good Morning Ismael,

    thank you very much for your anlaysis!!
    With your hint I have found that the plugin Blocky! was causing this issue.
    Although this plugin was only activated for a special post-type, it caused this additional <div> for all post types, so also pages were altered.

    I appreciate your help!

    Best regards,
    Michael

    #911622

    Hi Michael,

    Glad we could help and you got it working for you! :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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