Platform theme: problem showing a image in sidebar
-
Hello to everyone,
I’m using platform theme and I set a 3 column layout (one sidebar left + one sidebar right). I also added a image in top of the sidebars in sidebar.php. In most pages I have choosed a 2 column layout hiding the right sidebar and my image shows up at the top as I set it. But when I choose to show both sidebars the image disappears, why?
I’n not familiar with php and I don’t undestand what the code exactly says, please anyone can help me?
I post the code so you can have a look through it. thanks a lot!<?php /* SIDEBAR (SIDEBAR WRAP) This file controls the sidebar wrap template; which depending on the mode container one or both sidebars from layout. (It is used by BuddyPress as well and should play nice with child themes.) This theme copyright (C) 2008-2010 PageLines */ pagelines_register_hook('pagelines_before_sidebar_wrap'); // hook global $pagelines_layout; if($pagelines_layout->layout_mode != 'fullwidth'):?> <div id="sidebar-wrap" class="fix"> <?php if(pagelines_option('sidebar_wrap_widgets') == 'top' || !pagelines_option('sidebar_wrap_widgets')){ pagelines_template_area('pagelines_sidebar_wrap', 'sidebar_wrap'); // hook } if($pagelines_layout->layout_mode != 'two-sidebar-center'):?> <div id="sidebar1" class="scolumn fix" > <img src="https://www.gaia-gelatoecobio.com/Gaia/wp-content/uploads/gaia.png" width="153" height="84" alt="GAIA" border=0 /> <div class="scolumn-pad"> <?php pagelines_template_area('pagelines_sidebar1', 'sidebar1'); // hook ?> </div> </div> <?php endif; if($pagelines_layout->num_columns == 3): ?> <div id="sidebar2" class="scolumn fix"> <img src="https://www.gaia-gelatoecobio.com/Gaia/wp-content/uploads/gaiablog.png" width="227" height="67" alt="GAIABLOG" border=0 /> <div class="scolumn-pad"> <?php pagelines_template_area('pagelines_sidebar2', 'sidebar2'); // hook ?> </div> </div> <?php endif; if(pagelines_option('sidebar_wrap_widgets') == 'bottom'){ pagelines_template_area('pagelines_sidebar_wrap', 'sidebar_wrap'); // hook } ?> </div> <?php endif; pagelines_register_hook('pagelines_after_sidebar_wrap'); // hook
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Platform theme: problem showing a image in sidebar’ is closed to new replies.