Results 1 to 6 of 6

Thread: Sticky Featured - make thumbs centered

  1. #1
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts

    Sticky Featured - make thumbs centered

    I have tried to change to a class which text-align + center with no luck. any ideas?

    //The Loop

    while ($smStickyPosts->have_posts()) : $smStickyPosts->the_post();

    if (has_post_thumbnail() && $showthumbs){

    echo '<a href="' . get_permalink() . '">';

    the_post_thumbnail(array(get_option('thumbnail_siz e_w'),get_option('thumbnail_size_h')), array('class' => 'alignspecial'));

    echo '</a>';

    }

    elseif(function_exists('cp_get_image_url_feat') && $showthumbs) cp_get_image_url_feat(get_the_id(), 'thumbnail', 'captify', 1);

    echo '<h3><a href="' . get_permalink() . '">' . get_the_title() . '</a></h3>';

    echo '<br style="clear: both;" />';

    endwhile;

    //End of The Loop

  2. #2
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Junior Member igorsandee's Avatar
    Join Date
    Jan 2011
    Posts
    32
    Thanks
    4
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    Veteran doctorcilantro's Avatar
    Join Date
    Oct 2010
    Location
    Saudi Arabia
    Posts
    759
    Thanks
    2
    Thanked 26 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Featured Ad (sticky)
    By massimorufo in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: December 12th, 2010, 02:25 PM
  2. [MOD NEEDED] Change Sticky Posts thumbnail (make smaller)
    By doctorcilantro in forum ClassiPress General Discussion
    Replies: 2
    Last Post: December 8th, 2010, 10:06 AM
  3. Ad is Showing up in FEATURED Ads and it is NOT Sticky
    By mfreund in forum Help Using ClassiPress
    Replies: 4
    Last Post: June 11th, 2010, 10:19 PM
  4. No Featured Ads.. but Sticky?
    By mrfraz in forum Help Using ClassiPress
    Replies: 2
    Last Post: April 4th, 2010, 06:28 PM