Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16688

    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!

    #92484

    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,

    Ismael

    #92485

    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!

    #92486

    Ismael, Just found the solution:

    <div style="border-top:solid 1px #e1e1e1"></div>
    &nbsp;

    The second line is just to add an extra space between the line and the content.

    Thanks!

    #92487

    Hey,

    Good thing you made it work. :)

    Regards,

    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Hot to Insert line (or image) in php?’ is closed to new replies.