Hello, I want to add a line to separate parts of my content. How do I insert a thin grey line or and image in the php files?
Thanks for your help!
Hot to Insert line (or image) in php?
5 posts from 2 voices-
Posted 7 months ago #
-
Hi,
You can also do this via post or page editor, you can insert html tags like hr and img. What part of the content do you want to insert line or images?
Regards,
IsmaelPosted 7 months ago # -
Ismael,
Thanks for your answer. However is not inside a post or page. Actually I add a welcome message to the main page in the index.php file. Afther that message the posts feed is diplayed, so I want to put a thin line ( like the one that separates de content from the sidebars) to separate this welcome message from the posts feed.
Thanks!Posted 7 months ago # -
Ismael, Just found the solution:
<div style="border-top:solid 1px #e1e1e1"></div> The second line is just to add an extra space between the line and the content.
Thanks!
Posted 7 months ago # -
Hey,
Good thing you made it work. :)
Regards,
IsmaelPosted 7 months ago #
Topic Closed
This topic has been closed to new replies.














