Double headers, remove homepage header, slider layout and add widgets
-
Hi all,
I really need some help fixing these points, i do not know how to change them:
1. On every page except the main page, are double titles. I want to remove one of them.
2. The main page shows a Home title under my slider and this looks really ugly, i would like to remove that.
3. THe main page has a slider over the entire width of the page, i want to reduce this to only 3/4 of the page, and reduce the height, so that part of the main page content is visible opening the website.
4. on the right side of the slider i want to create a sidebar with widgets. which does not seems to work, (sidebar widgets appear on under the main page content)
im rather new with html and wordpress. my theme is Catch Kathmandu,
https://www.benjoytours.com/wordpress
page.php
[ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]
get_header(); ?> <?php the_title(); ?><h1><?php if ( is_page('pets') ) { echo '<div class="pets">'; } else { echo ''; } if ( is_page('products') ) { echo '<div class="products">'; } else { echo ''; } ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> </div><!-- #content .site-content --> </div><!-- #primary .content-area --> <?php get_sidebar(); ?> <?php get_footer(); ?>
- The topic ‘Double headers, remove homepage header, slider layout and add widgets’ is closed to new replies.