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

   

Customize Content Template Two

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi
I just wondering its possible to customize the Content Template Two for post?

What I am trying to do is to add or reduce the number of feature articles on Content Template Two according to my content. How to do it?

The feature images size a bit to small for me, how I can change the size according to my preference?


Thank you very much for great template.

 

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Changing the image size is simple. Just hover/click on the image and delete, then position your cursor at the beginning of the paragraph and click “Add Media” to insert a new image.

As for the column widths, you’ll need to click “Text View” tab (HTML mode) and remove one manually. You’ll notice the columns are titled “one_third”. Change it to “one_half”. Keep in mind the last column in a row/set needs to hav a class of “one_half last”.

Example:

<div class="one_half">
<h3>Column One</h3>
.....column one content…
</div>

<div class="one_half last">
<h3>Column Two</h3>
.....column two content…
</div>

You can also use the shortcode method. The advantage with shortcodes is you don’t need to look at source code. The disadvantage is you don’t have an accurate editor preview. To do the same as above in shortcode form, use this formula:

[one_half]
.....column one content…
[/one_half]

[one_half_last]
.....column two content…
[/one_half_last]

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi Casey
Thank you for the reply.

Well I try the method that you recomended by Add Media to adjust the size of the images but the text not align.

Please take note the images size I add is the exact size according to your template content. Its only works when I use source url

Thank you

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Let me know if this helps: http://www.screencast.com/t/4FghVDMm

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi Casey
Thank you for your support. Actually the align text is not as on Element template demo happen due I changed the size of Theme Content Width.

Thank you again for great support

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Actually the align text is not as on Element template demo happen due I changed the size of Theme Content Width.

I’m not sure what you mean here. Can you provide a screenshot or link so I can better help you?

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi Casey
What I am try to do is to replica your demo Element Home Page.

But I did adjusted the template layout demension and the Typography it cause the align of text not exact position as in demo page when I am add the images.

I already restore the default setting the layout demension and the align of text look exact as on Element demo page.

The issue consider solved

One more question, how to remove the Category Tittle on category post page?

Thank you

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

HI, I just added capabilities to override the category title via child theme.

If you’ll first update Element to v.2.4.3, you can then add this function to your child theme functions.php:
(Appearance → Editor → Theme Functions)

function st_category_heading() {
 $current_category = single_cat_title("", false);

 $category_heading = '<h1 class="leader">';
 $category_heading .= __( 'Category: ', 'smpl' );
 $category_heading .= $current_category;
 $category_heading .= '</h1>';

 if (is_category( 'uncategorized' )) {
  // don't display category heading
  return;
 } else {
  // display as normal
  echo $category_heading;
 }

}

The function above demonstrates how to hide the category title on the “uncategorized” category slugs. You can also pass multiple. For more info on the is_category conditional, see http://codex.wordpress.org/Function_Reference/is_category#Examples

 

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi Casey
I already update the latest Element Child Theme to 2.4.3

I already update the Element Child: Theme Functions but nothing happen.

Might be I placed it at the wrong line, can you brief me at which line I need to put the code.


Thank you

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Just put it right before the ending ” ?> “

What categories are you excluding? Dod you use the correct slug?

{name}
Rank

Total Posts: 6

Joined 2013-02-12

PM

 

Hi Casey
Got it.

Thank you