WordPress.org

Ready to get started?Download WordPress

Forums

Adding an information box to a post (6 posts)

  1. Karenxxx
    Member
    Posted 1 year ago #

    This might be a really simple one...but I dont know how to do it! I would like to add an information box (hotel and flight details etc) at the end of each post, here for instance:-
    http://carrotsandclaret.com/would-you-rather-have-dinner-with-an-american-man-or-would-you-rather-have-dinner-with-a-bedouin-man/

    so its stands out from the other writing. I know how to put a text box in the sidebar but not after a post

  2. Jess
    Member
    Posted 1 year ago #

    Do you want it to be part of the post, or have the same text box show up at the bottom of every post?

  3. Karenxxx
    Member
    Posted 1 year ago #

    Hi Jess
    Preferably on four posts only (ie all the Egypt ones). If this is possible...

  4. Jess
    Member
    Posted 1 year ago #

    So instead of doing a widget or template modification, I would just use a div, styled with CSS to make it look however you want. Then copy it into the post content for each post where you want it to appear. Give the div a class, and then define the class attributes in your style sheet.

  5. Karenxxx
    Member
    Posted 1 year ago #

    Im a real beginner Jess, I dont know how to use div!

  6. Jess
    Member
    Posted 1 year ago #

    Here's a good tutorial to start with:

    http://gostats.com/resources/css-div-tutorial.html

Topic Closed

This topic has been closed to new replies.

About this Topic