My sidebar is appearing at the bottom.
-
Hello, I am having trouble with my sidebar appearing at the bottom of my site. I have tried to edit the CSS, but I had experienced more complications because the other answers did not match what I had. Maybe I overlooked, but I hope that you will help me even though there are thousands of questions just like mine.
My site is https://imaqination.co
My “sidebar” CSS says
<aside id="sidebar"> <?php /* Widgetised Area */ if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar('Sidebar') ) ?> </aside>
So I know I have to edit the CSS that says “Rosemary: Page with Slider & Sidebar Page Template (page-slider-sidebar.php)”.
<?php /* Template Name: Page with Slider & Sidebar */ ?> <?php get_header(); ?> <div class="container"> <?php get_template_part('inc/featured/featured'); ?> <div id="content"> <div id="main"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php get_template_part('content', 'page'); ?> <?php endwhile; ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
This is what the CSS says, and thank you in advance!
[moderated to fix bad link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘My sidebar is appearing at the bottom.’ is closed to new replies.