Welcome! To use this support forum, please Login or Join Today!

   

Customize Element Feature Images Size and Post Content Lenght

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi Casey
I have few question about Element Template.

This is link regarding my question http://www.kualalumpurtravel.net/category/tour-program/
1. I still strugging to remove few Category Tittle, how to remove a few category tittle?
2. As you see the under particular category there are some gap and empty space in the section - My question how I can modify the Post Content Lenght or Feature Images Size to make the section look neat and tidy.
3. How I can change the Menu Fonts to make it slighly bigger from the current size?
4. What the best size for Post Feature Images? The current size I think too big its use lots of space for article. Look at this link http://www.kualalumpurtravel.net/cameron-highlands-day-trip/ Can we customize the size to specific size?

Thank you in advance.

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

1. I still strugging to remove few Category Tittle, how to remove a few category tittle?

I answered this in your previous post. What happens when you add the function? Also be sure you are using the Child theme or you will not receive updates and will lose your changes when you do.

http://www.simplethemes.com/theme-docs/element-docs#170

To hide specific category titles, you could pass multiple categories as an array, for example:

function st_category_heading() {
$excluded_categories = array(
    'uncategorized',
    'category-a',
    'category-b',
    );
$category_heading = '<h1 class="leader">';
$category_heading .= __( 'Category: ', 'smpl' );
$category_heading .= $st_current_category;
$category_heading .= '</h1>';
// Set the categirue
if (is_category( $excluded_categories )) {
    return;
} else {
    echo $category_heading;
}
}

2. As you see the under particular category there are some gap and empty space in the section - My question how I can modify the Post Content Lenght or Feature Images Size to make the section look neat and tidy.

You could use the “more” tag to define your own break point:
http://www.bourncreative.com/why-use-the-wordpress-more-tag

3. How I can change the Menu Fonts to make it slighly bigger from the current size?

You can space the items apart further by increasing the spacing under:
Appearance → Theme Options → Menu → Menu Item Spacing

Or you could add some custom CSS to your style.css
Appearance → Editor → style.css

Add:

#menu li a {
 font-size: 20px;
}

4. What the best size for Post Feature Images? The current size I think too big its use lots of space for article. Look at this link http://www.kualalumpurtravel.net/cameron-highlands-day-trip/ Can we customize the size to specific size?

Yes, you might want to take a look at this (somewhat lengthy) topic to gain a better understanding of how to accomplish this.

http://www.simplethemes.com/support/viewthread/1314/#3861

The short answer is to add this function to your functions.php:

// Single Post Images
function st_addSingleImage() {
global $post;

$image = get_the_post_thumbnail($id, 'video169sm', array('class' => 'alignleft scale-with-grid'));
if (is_single()) {
echo $image;
}
}
add_action('st_before_content','st_addSingleImage',1);

Key here is the video169sm image size. You can name any size you want using the add_image_size function (see parent theme functions.php). Note: If you define custom image sizes, you won’t see these images until you regenerate the thumbnails.