Link to home
Start Free TrialLog in
Avatar of Dale Fye
Dale FyeFlag for United States of America

asked on

WordPress font size and missing widget

Follow-on question to my previous WordPress question.

So, adding text to the bottom of the style sheet worked for all of the pages that previously existed in my site:

#pagecont, #content { font-size: 17px; }

Then I created a new page, which shows up in the original 16px font size and without the widgets down the right side of the page.

1.  Any idea how to get that font size increased to the 17px that I have set based the response to the previous question.  

2.  Also,  any idea why this page doesn't show the widgets down the right side of the screen, and how to fix it.
Avatar of gplana
gplana
Flag of Spain image

Maybe you are using a different template file. Remember when you create a new page you can choose the template file on the right part of the screen (on properties area).

Hope it helps. Regards.
Avatar of Dale Fye

ASKER

That does not seem to be the case with the free eSell theme.  I do not see any options for different templates when adding a new page.
ASKER CERTIFIED SOLUTION
Avatar of Heather Ritchey
Heather Ritchey
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll try to get a copy of the theme and see if I can give you the code you need to at least change that template to match the pages.
In the contproduct.php file, remove all the code that is in it and paste this in:

<?php get_header(); ?>
	<!-- BEGIN PAGE -->
	<div id="page">
    <div id="page-inner" class="clearfix">
		<div id="pagecontpro">	
		<?php if(have_posts()) : ?><?php while(have_posts())  : the_post(); ?>
					<article id="pagepost-<?php the_ID(); ?>" <?php post_class(); ?> itemscope="itemscope" itemtype="http://schema.org/Article">			
					<h1 class="entry-title" itemprop="name headline"><a itemprop="url" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>

				<?php if ( of_get_option('esell_pronaviinfo' ) =='on') { ?>	<?php if(is_page(array ('cart','checkout') )){
			echo '<ul id="navlist">
 <li id="s1">1: Add to cart</li>
 <li id="s2">2: View Cart</li>
 <li id="s3">3: proceed to checkout</li>
 <li id="s4">4: Detail & Payment</li>
 <li id="s5">5: Get Product ! </li>
</ul>';
}
?>				<?php } ?>
<div class="entry" class="clearfix">	
								<span itemprop="articleBody"><?php the_content(); ?></span>
								<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'esell' ), 'after' => '</div>' ) ); ?>
							</div> <!-- end div .entry -->
	<div class="gap"></div><?php if (of_get_option('esell_author' ) =='1' ) {load_template(get_template_directory() . '/includes/author.php'); } ?>
							<div class="comments">
								<?php comments_template(); ?>
							</div> <!-- end div .comments -->
			</article> 

			<?php endwhile; ?>
			<?php else : ?>
				<div class="post">
					<h3><?php _e('404 Error&#58; Not Found', 'esell'); ?></h3>
				</div>
			<?php endif; ?>
			      										
		</div><?php get_sidebar(); ?><?php get_footer(); ?>

Open in new window


Then add this to the end of your stylesheet:

#pagecontpro {
width: 68%;
font-size: 17px;
}
@Dzynit,

re your post here.  That makes lots of sense.  I'll look at deleting that page and creating a new one for that feature (calling it downloads).

I really don't want to make major changes to the CSS or PHP files as I know nothing about either of those and it will just make me more dependent on help.
@Dzynit,

Changing the name accomplished my goal of getting back to the proper font and getting the Widgets back.

Thanks
Just refer back to this question if you run into store issues from the name change. The only change in that php file was the addition of the sidebar. I just figured it was easier for you to copy/paste the whole file of code rather than be sure you got that bit of code in the right place, then of course the css to fix the content width and font size.