Title: Sidebar Left
Last modified: August 21, 2016

---

# Sidebar Left

 *  Resolved [ninverso](https://wordpress.org/support/users/ninverso/)
 * (@ninverso)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/)
 * Can someone point me in the right direction to move the single event page sidebar
   from the right to left? All other pages have left sidebar location.
 * [http://wordpress.org/plugins/events-manager/](http://wordpress.org/plugins/events-manager/)

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181758)
 * try this thread –
 * [http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=22](http://wordpress.org/support/topic/events-manager-eventslocation-pages-cant-get-sidebar?replies=22)
   
   [http://codex.wordpress.org/Function_Reference/get_sidebar](http://codex.wordpress.org/Function_Reference/get_sidebar)
 *  Thread Starter [ninverso](https://wordpress.org/support/users/ninverso/)
 * (@ninverso)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181806)
 * thanks for the links.
 * I made a new file called single-event.php and place in my theme folder. I confirmed
   that singles event posts are using this template through the Reveal plugin.
 * I copied the code from single.php to single-event.php, but not sure what to modify.
   I’ve never edited php before.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181823)
 * Do you see any reference in your code to a sidebar?
 *  Thread Starter [ninverso](https://wordpress.org/support/users/ninverso/)
 * (@ninverso)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181825)
 * yes and tried changing a bit but no luck.
 *     ```
       <?php get_header(); ?>
       	<?php
       	if(get_post_meta($post->ID, 'pyre_full_width', true) == 'yes') {
       		$content_css = 'width:100%';
       		$sidebar_css = 'display:none';
       	}
       	elseif(get_post_meta($post->ID, 'pyre_sidebar_position', true) == 'left') {
       		$content_css = 'float:right;';
       		$sidebar_css = 'float:left;';
       	} elseif(get_post_meta($post->ID, 'pyre_sidebar_position', true) == 'right') {
       		$content_css = 'float:right;';
       		$sidebar_css = 'float:left;';
       	} elseif(get_post_meta($post->ID, 'pyre_sidebar_position', true) == 'default') {
       		if($data['default_sidebar_pos'] == 'Left') {
       			$content_css = 'float:right;';
       			$sidebar_css = 'float:left;';
       		} elseif($data['default_sidebar_pos'] == 'Right') {
       			$content_css = 'float:right;';
       			$sidebar_css = 'float:left;';
       		}
       	}
       	?>
       	<div id="content" style="<?php echo $content_css; ?>">
       		<?php wp_reset_query(); ?>
       		<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
       		<?php query_posts($query_string.'&paged='.$paged); ?>
       		<?php if(!$data['blog_pn_nav']): ?>
       		<div class="single-navigation clearfix">
       			<?php previous_post_link('%link', __('Previous', 'Avada')); ?>
       			<?php next_post_link('%link', __('Next', 'Avada')); ?>
       		</div>
       		<?php endif; ?>
       		<?php if(have_posts()): the_post(); ?>
       		<div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
       			<?php
       			global $data;
       			if((!$data['legacy_posts_slideshow'] && !$data['posts_slideshow']) && get_post_meta($post->ID, 'pyre_video', true)): ?>
       ```
   
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181829)
 * You don’t need to edit any code to switch the sidebar from left to right.
 * This code indicates there’s an option to float the sidebar left or right in the
   WP admin area.
 *  Thread Starter [ninverso](https://wordpress.org/support/users/ninverso/)
 * (@ninverso)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181830)
 *     ```
       #content { float:right; }
       #sidebar { float:left; }
       ```
   

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

The topic ‘Sidebar Left’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [left](https://wordpress.org/support/topic-tag/left/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)
 * [single event](https://wordpress.org/support/topic-tag/single-event/)

 * 6 replies
 * 3 participants
 * Last reply from: [ninverso](https://wordpress.org/support/users/ninverso/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/sidebar-left/#post-4181830)
 * Status: resolved