Sidebar left

BrianKlinger
Posts: 11
Joined: Wed Oct 21, 2015 7:31 pm
Contact:

Sidebar left

Postby BrianKlinger » Tue Oct 27, 2015 4:23 am Supported Until: Wed Apr 20 21:41:47 +1000 2016 | Expired

We tried moving the sidebar to the left of the theme, but the content on the homepage remains left, so it is actually showing up underneath the left sidebar. theadvisorjournal.com for reference.

User avatar
pirateS
Site Admin
Posts: 6820
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Sidebar left

Postby pirateS » Wed Oct 28, 2015 10:09 pm

Hi
Please update new version from ThemeForest

BrianKlinger
Posts: 11
Joined: Wed Oct 21, 2015 7:31 pm
Contact:

Re: Sidebar left

Postby BrianKlinger » Wed Oct 28, 2015 10:16 pm Supported Until: Wed Apr 20 21:41:47 +1000 2016 | Expired

I updated and it appears to have worked, but the sidebar is no longer showing up. The sidebar widget is still showing all of my items, it is just not appearing on any of the pages.

BrianKlinger
Posts: 11
Joined: Wed Oct 21, 2015 7:31 pm
Contact:

Re: Sidebar left

Postby BrianKlinger » Wed Oct 28, 2015 10:26 pm Supported Until: Wed Apr 20 21:41:47 +1000 2016 | Expired

The sidebar is no longer appearing whether I put it on the right or the left.

Feel free to contact me directly through my email if you'd like me to troubleshoot anything. I am a moderate PHP developer and have shell access to my site.

User avatar
pirateS
Site Admin
Posts: 6820
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Sidebar left

Postby pirateS » Thu Oct 29, 2015 2:04 am

my email address: piratesmorefun@gmail.com

BrianKlinger
Posts: 11
Joined: Wed Oct 21, 2015 7:31 pm
Contact:

Re: Sidebar left

Postby BrianKlinger » Sat Oct 31, 2015 3:18 am Supported Until: Wed Apr 20 21:41:47 +1000 2016 | Expired

I've sent you a few emails. Not sure if you are receiving them. They are from an advisorhubinc.com user. We are hoping to go live next week.

User avatar
pirateS
Site Admin
Posts: 6820
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Sidebar left

Postby pirateS » Tue Nov 03, 2015 2:19 am

Hi
Please update new version from ThemeForest again.
Thanks

BrianKlinger
Posts: 11
Joined: Wed Oct 21, 2015 7:31 pm
Contact:

Re: Sidebar left

Postby BrianKlinger » Tue Nov 03, 2015 5:13 am Supported Until: Wed Apr 20 21:41:47 +1000 2016 | Expired

I was asked to try to fix this myself and I found that sidebar.php was empty. I went to the backup I made shortly before I updated the first time and found the code for sidebar.php and reinserted it. Is that the only change that you made or is there more I need to look for? (I'm having to heavily modify parts of the theme to satisfy my boss, so the less I have to update the better).

User avatar
pirateS
Site Admin
Posts: 6820
Joined: Wed Nov 05, 2014 11:49 am
Contact:

Re: Sidebar left

Postby pirateS » Thu Nov 05, 2015 3:36 am

Hi
Please open index.php, following the structure below:

CodeColon Select All Code

            if ( $sidebar == 'sidebar-no' || !$sidebar )
            {
               echo '<div class="col-md-12">';
                                          .......
               echo '</div>';
            }else{
               $cssClass      = $sidebar == 'sidebar-left' ? 'col-md-push-4' : '';
               $sidebarClass = $sidebar == 'sidebar-left' ? 'col-md-pull-8' : '';

               echo '<div class="col-md-8 '.esc_attr($cssClass).'">';

               .......

               echo '</div>';

               echo '<div class="col-md-4 blog-sidebar '.esc_attr($sidebarClass).'">';
                  get_sidebar();
               echo '</div>';
            }


Return to “Royal”

Who is online

Users browsing this forum: No registered users and 1 guest