<hr> between entries
<hr> between entries
Hi,
I want add a bit structure to my weblog, so I want between posts a <hr> or line (image). How do i do this?
I added a red line in the screenshots. Thats the one i want to add. How?
http://img69.imageshack.us/img69/6118/redlineis0.png
Thanks
I want add a bit structure to my weblog, so I want between posts a <hr> or line (image). How do i do this?
I added a red line in the screenshots. Thats the one i want to add. How?
http://img69.imageshack.us/img69/6118/redlineis0.png
Thanks
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: <hr> between entries
Hi!
For that you can/must either edit the entries.tpl template file and insert a <hr> after {$entry.body} for example. Place that there and watch how it affects your blog.
The other option would be to do it with CSS already, by using a "border-bottom". Since you didn't provide your URL, I can't give you the full CSS code you need to add to your style.css file, but it's something like:
Regards,
Garvin
For that you can/must either edit the entries.tpl template file and insert a <hr> after {$entry.body} for example. Place that there and watch how it affects your blog.
The other option would be to do it with CSS already, by using a "border-bottom". Since you didn't provide your URL, I can't give you the full CSS code you need to add to your style.css file, but it's something like:
Code: Select all
.serendipity_entry {
border-bottom: 20px solid red;
}
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I have now another problem: Stupid me!
I added to a file <hr> , but I cant find the file which contains the <hr> tag.
www.thejokers.nl
Maybey you know?
P.S. Its not in the Andreas08 folder, I'm sure about that!!
I added to a file <hr> , but I cant find the file which contains the <hr> tag.
www.thejokers.nl
Maybey you know?
P.S. Its not in the Andreas08 folder, I'm sure about that!!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Uhm, I'm not sure I understand your question.
You added a "<hr>" to a file but you can't remember to which file you added it? Because the <hr> shows up in your blog?!
You must have inserted it into the 'entries.tpl' file...
Regards,
Garvin
Uhm, I'm not sure I understand your question.
You added a "<hr>" to a file but you can't remember to which file you added it? Because the <hr> shows up in your blog?!
You must have inserted it into the 'entries.tpl' file...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Yeah, that's my question.
Watch my index.tpl file
http://www.freefileupload.net/file.php? ... ntries.tpl
I added a <hr> to a file, but I can't find it.
The <hr> appears after the READ MORE link.....
Watch my index.tpl file
http://www.freefileupload.net/file.php? ... ntries.tpl
I added a <hr> to a file, but I can't find it.
The <hr> appears after the READ MORE link.....
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
To which file did you add it?
I just looked at your blog, it seems you inserted the <hr> into your ENTRY, not inside a template file.
Go and edit the file templates/andreas08/entries.tpl (the one you posted). After line 27 ( a closing </div>) you can simply add your <hr />.
Regards,
Garvin
To which file did you add it?
I just looked at your blog, it seems you inserted the <hr> into your ENTRY, not inside a template file.
Go and edit the file templates/andreas08/entries.tpl (the one you posted). After line 27 ( a closing </div>) you can simply add your <hr />.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You're confusing me.
Maybe you don't have the andreas08 template activated? Go to the s9y admin panel, go to "manage styles" and then activate andreas08. Maybe you currently have activated a different template.
Regards,
Garvin
You're confusing me.
Maybe you don't have the andreas08 template activated? Go to the s9y admin panel, go to "manage styles" and then activate andreas08. Maybe you currently have activated a different template.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I solved it! I changed in the CSS file the width for HR
I never use <hr>, so it's no problem for me..
But which file contains <hr>, I will never know i think
Code: Select all
hr {
border: 0;
width: 0%;
}
But which file contains <hr>, I will never know i think
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Are you sure you didn't accidentally edit a file in templates_c/ ? Those files are never meant for editing, you might need to telete all the "strange looking" files in that directory, they are only caches for compiled templates.
HTH,
Garvin
Are you sure you didn't accidentally edit a file in templates_c/ ? Those files are never meant for editing, you might need to telete all the "strange looking" files in that directory, they are only caches for compiled templates.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/