ThemeShaper Forums » Thematic

[closed]

"Feature Site" child theme - Buttons

(5 posts)
  • Started 9 years ago by spedwig
  • Latest reply from lancedevenson
  • This topic is resolved
  1. spedwig
    Member

    My question is this:

    Where/how do I either a)change the destinations of the buttons on the "front page" of the feature site theme (the buttons for the featured content - as a default, they seem to point to the home page, which is the page they are on); or b)remove those buttons entirely.

    Also, possibly relatedly, I'm having a hard time finding where I change the "who's behind this blog?" lorem ipsum text to my actual content.

    Any help anyone can offer would be greatly appreciated.

    Posted 9 years ago #
  2. Hi,

    the author info text can be changed in the front-page.php.

    The buttons / links are controlled in includes/feature-front-x.php.

    Chris

    Posted 9 years ago #
  3. spedwig
    Member

    Yes, of course, the pertinent info on the front page can be changed in the front-page.php. Wow. Can't believe I missed that.
    i do have another question that pertains to the buttons on the front-page:

    Currently, there is a 63px padding between the header and the featured content (which is great). Unfortunately, this same padding is repeated beneath the buttons... which puts a space between the bottom of the buttons and the border that they should be resting upon... making the buttons bottomless and floating. If I change the padding to 0px in the leader section of my stylesheet, the extra space beneath the buttons disappears–they rest directly on the line as I'd like, but this also pushes my photo and feature headline right up to my header image.

    I'm fairly new at all of this. My question is: is there a way to keep the spacing between my header image and the top of the featured content, while resting the button bottoms on the border?

    Additional info:
    I have added code to my functions.php which replaces blog title info with a header image and also code that moves the navigation to above this image.

    Posted 9 years ago #
  4. spedwig
    Member

    Figured it out. This is one of those situations where even a minor amount of knowledge of CSS (or what I'm doing) would have prevented the question from being asked.

    Posted 9 years ago #
  5. Can somebody tell me if I added the more info link in the right area? Right now the more info button isn't working. I keeps linking back to the home page. After reading this post I felt really confident even with only a month of WP experience. However it hasn't worked out. Any help would be great.

    <?php
    // Front Page feature item
    ?>
    <div id="feature">
    
      <a href="<?php echo get_option('home') ?>/"><img src="<?php echo dirname( get_bloginfo('stylesheet_url') ) ?>/includes/images/feature-item1.jpg" alt="A look at the Thematic WordPress Theme"/></a>
    
        <div id="feature-info">
    
            <h2>Group Conference Promotion</h2>
            <p>Qualifiers to a sales conference received these enticing, promotional materials prior to their arrival. Each element—a program of events, business agenda, and reminder magnet—worked together to generate excitement about the conference at the Ritz-Carlton’s Bachelor Gulch resort in Colorado’s Rocky Mountains.</p>
            <div id="buttons">
                <a href="<?php echo get_option('home') ?>/" class="button" rel="nofollow">Download</a>
                <a href="<?php echo get_option('http://lancedevenson.com/?p=52') ?>/" class="button">More Info »</a>
            </div>
    
        </div><!-- #feature-info -->
    
    <div class="clear-block"></div>
    
    </div><!-- #feature -->
    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.