Edit Template File
-
I am trying to add a section on my page (dev.ntv.ca) to float right across from the Heading. but whenever I edit the template theme it moves the sidebar but doesn’t display the new content at all. What am I doing wrong?
css:
.TilesArea { position: absolute; right: 0; top: 0; display: block; height: 125px; width: 125px; }Template file:
<div class="td-container"> <div class="td-container-border"> <?php switch ($loop_sidebar_position) { default: ?> <div class="td-pb-row td-pagebuilder-sidebar-right"> <div class="td-pb-span8 td-main-content" role="main"> <div class="td-ss-main-content"> <?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <div class="td-page-header td-pb-padding-side"> <?php echo td_page_generator::get_page_breadcrumbs(get_the_title()); ?> <h1 class="entry-title td-page-title"> <span><?php the_title() ?></span> </h1> </div><div class="TilesArea">Tile Here Please</div> <div class="td-pb-padding-side td-page-content"> <?php the_content(); endwhile;//end loop } ?> </div> </div> </div> <div class="td-pb-span4 td-main-sidebar" role="complementary"> <div class="td-ss-main-sidebar"> <?php get_sidebar(); ?> </div> </div> </div> <?php break; case 'sidebar_left': ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Edit Template File’ is closed to new replies.