float left and right in a text box…

Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) float left and right in a text box…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15252

    Trying to create the same look as the latest blog topics in the footer. It won’t be a post, just a product image and description

    added this piece of code:

    image

    Lorem ipsum
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. In nec urna imperdiet s…

    When I do this the image is still above the text instead of to the left of it.

    Is there a reason why this doesn’t work? I do this when i do regular css/html. Not sure if this is impossible or I’m doing something wrong…

    #15253
    Sushil Adhikari
    Moderator

    You would need to do it slightly different, which is quite easy. Just add your text in a text widget, then insert your image and float it left and add some margins to it to give it some space. You can also just look at the source code of the demo site for the recent posts widget at the bottom and use that structure and classes…although it adds a lot more code.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.