View previous topic :: View next topic |
Author |
Message |
tigersi
Joined: 20 Apr 2005 Posts: 174
|
Posted: Mon Aug 08, 2005 2:52 pm Post subject: more space |
|
|
Hi John,
I'd like to widen the white space between the end of one of my posts and the keyword section on the main page and inside articles. I do it manually now with page breaks in articles but forget sometimes. And the manual doesn't impact the main page.
Can you direct me to where I make the change and the right command to use?
Thanks. _________________ Thanks!
Kathy (aka, Roaring Tiger)
http://bigcatchronicles.blogharbor.com |
|
Back to top |
|
|
john Site Admin
Joined: 16 Mar 2004 Posts: 3434
|
Posted: Mon Aug 08, 2005 8:06 pm Post subject: Re: more space |
|
|
Since Keywords by default are not on shown on the Main Page, I would guess you copied the code from the article template and put it into the category template. That code probably looks like this:
Code: | {{if keywords}}
<div style="margin-top:8px;margin-bottom:25px;">
<strong>Keywords:</strong>
{{loop keywords}}
<a href="{{search_url}}" rel="tag">{{var name=keyword escape=html}}</a>{{unless __last__}}, {{/unless}}
{{/loop}}
</div>
{{/if}} <!-- keywords --> |
The margin-top:8px attribute of the DIV tag in which the keyword loop is contained is the element to modify. Increase the number to increase the margin between the keyword area and the area above it. |
|
Back to top |
|
|
tigersi
Joined: 20 Apr 2005 Posts: 174
|
Posted: Tue Aug 09, 2005 10:51 am Post subject: thanks |
|
|
Thanks, John.
That worked. I also found how to do it on the main page using your post as the jumping off point. I modified this code in the Category template and changed the part following {{if keywords}}...
Code: | <div class="articleBody">
{{if excerpt}}
{{excerpt}} <span class="articleMore"><a href="{{view_url}}" align="right" border="0" width="13" height="13">Read more</a> <strong>»</strong></span>
{{else}}
{{body}}
{{/if}}
{{if keywords}}
<div style="margin-top:25px;margin-bottom:25px;">
<strong>Keywords:</strong>
{{loop keywords}}
<a href="{{search_url}}" rel="tag">{{var name=keyword escape=html}}</a>{{unless __last__}}, {{/unless}}
{{/loop}}
</div>
{{/if}} <!-- keywords -->
</div> <!-- articleBody --> |
_________________ Thanks!
Kathy (aka, Roaring Tiger)
http://bigcatchronicles.blogharbor.com |
|
Back to top |
|
|
Search all BlogHarbor support resources.
|
View previous topic :: View next topic |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|