If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
October 19, 2010 at 2:12 pm #1757
Under the slider I want to put in some text such as “Take the Quick Tour,” eliminating everything else.
I would also like to make that entire area thinner. Right now there is about 1.5 inches and I’d like to try either .75 or 1.0 inches.
Please give me simple instructions on how to do this, keeping in mind that I am not a coder of any kind.
Thanks!October 21, 2010 at 3:48 pm #36016
The file to edit is index.php in the theme directory. Assuming you want to remove the Frontpage Tabs section as part of eliminating everything else (correct me if I’m wrong) open up index.php find and remove this section:
#query the pags do display on the starting page
if($k_option['mainpage']['mainpage_content_final'] != "")
$id_order = explode(',', $k_option['mainpage']['mainpage_content_final']);
$args = array(
'post_type' => 'page',
'post__in' => $id_order
$additional_loop = new WP_Query($args);
#sorts the array so it reflects the order selceted in the backend
foreach($additional_loop->posts as $the_post)
foreach($id_order as $key => $value)
if($value == $the_post->ID)
$tempArray[$key] = $the_post;
$additional_loop->posts = $tempArray;
$counter = 1;
$firstContainer = 'fpactive_tab_content';
$firstTab = 'fpactive_tab';
while ($additional_loop->have_posts()) : $additional_loop->the_post();
<h1 class='fptab <?php echo $firstTab; ?>'><!--<a href="<?php the_permalink(); ?>"> --><?php the_title(); ?><!--</a>--></h1>
<div class='fptab_content tab<?php echo $counter. " ".$firstContainer; ?>'>
<?php the_content('Read more'); edit_post_link('Edit', '', '');?>
$firstContainer = $firstTab = "";
echo "<h1>Welcome and Thanks for installing Avisio!</h1>";
echo "It seems you didnt set up your frontpage by now. You can do that in your wordpress backend at Avisio Options » <a href='".get_option('siteurl')."/wp-admin/options.php?page=mainpage.php' title=''>Mainpage Options</a>";
<!--end enty -->
Replace it with:
<h1>Take the Quick Tour</h1>
<p>This is the first line</p>
</div><!-- /entry -->
Hopefully, this will get you started in the right direction.
JamesOctober 21, 2010 at 8:24 pm #36017
Let me throw another one at you. We’re having a heck of a time centering text vertically on that Featured Stripe. Seems the only way to do it so far is to lower the white box. If you look at the image attached you see that the text is technically centered in the stripe, but since the white stripe is lowered and exposes the brown color area, visually there is no change.
Here’s how we started out, all that was showing of the brown was a thin stripe for accent, which I like:
Then came the adjustment 30px 0 0 10px and this happened:
Now there’s a lot of brown showing, which I’d rather not do. Do you know of any way to keep things intact and just have the text play nice and reside in the center of the stripe?
The topic ‘How do I get rid of thumbnails under the slider and reduce size of the area?’ is closed to new replies.