WordPress.org

Ready to get started?Download WordPress

Forums

Image not placed correctly (2 posts)

  1. fashinvest
    Member
    Posted 4 years ago #

    I am have inserted an image titled welcome.gif into this page (http://www.fashinvest.com/home/). The image needs to be moved to the left as it is not aligned correctly. Here is my code. What code do I use to move the image to the left more?

    <div align="center"><img src="<?php bloginfo("template_directory"); ?>/images/welcome.gif"/></div>

    Thanks in advance for any help

  2. jceresini
    Member
    Posted 4 years ago #

    The following CSS block sets the padding of the image's container to 16px on the left and right:

    http://www.fashinvest.com/wp-content/themes/sandbox/style.css
    .homeImageGrid (line 37)

    Your best bet is to re-create the image but make it slightly smaller (about 32 px smaller since there is a 16px padding on each side.

Topic Closed

This topic has been closed to new replies.

About this Topic