Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1757

    Hi,

    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!

    #36016

    Hey,

    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:

    <div class="frontpagetabs">

    <div class='entry'>
    <?php

    #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;

    #output loop
    $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', '', '');?>
    </div>

    <?php
    $firstContainer = $firstTab = "";
    $counter ++;
    endwhile;
    }
    else
    {
    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 &raquo; <a href='".get_option('siteurl')."/wp-admin/options.php?page=mainpage.php' title=''>Mainpage Options</a>";
    }

    ?>
    <!--end enty -->
    </div>
    <span class="hr"></span>

    </div>

    Replace it with:

    <div class="entry">
    <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.

    James

    #36017

    Hi James,

    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:

    http://postimage.org/image/2zgzghvus/

    Then came the adjustment 30px 0 0 10px and this happened:

    http://postimage.org/image/2pb951sdg/

    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?

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How do I get rid of thumbnails under the slider and reduce size of the area?’ is closed to new replies.