Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17504

    Good Evening,

    I’m using Display 3 in 1 on all three of my websites. (I’ve purchased three copies of the theme, one for each site.) I’ve replicated the ‘Terms of Use’ webpage on all three websites using the same code (with the difference of the website name within the body of text). My newest website, StrategyDrivenAdvisoryServices.com is not aligning the images to the right as coded whereas the other two websites are (using the same code). All three websites are hosted by Bluehost and reside in different directory folders. The example ‘Terms of Use’ webpages can be viewed as:

    StrategyDriven.com: http://www.strategydriven.com/about/terms-of-use/ (appears as it should)

    StrategyDrivenProfessional.com: http://www.strategydrivenprofessional.com/terms-of-use/ (appears as it should)

    StrategyDrivenAdvisoryServices.com: http://www.strategydrivenadvisoryservices.com/terms-of-use/ (image appears to the left instead of the right)

    The image code, which is the same for each website, is as follows (brackets omitted to show actual code):

    img border=”0″ width=”425″ height=”282″ class=”alignright” src=”http://www.strategydriven.com/wp-content/themes/strategydriven/img/Contract.jpg” style=”padding-left: 10pt; padding-top: 0pt; padding-bottom: 0pt; padding-right: 0pt”/

    Note that I’ve created several other webpages for the StrategyDrivenAdvisoryServices.com website and am unable to get any of the images to align to the right. I am consistently using the code, class=”alignright” to set up the image alignment.

    All of my websites are running on WordPress 3.4.1 and have the same active plugins. I just purchased, downloaded, and uploaded Display 3 in 1 to StrategyDrivenAdvisoryServices.com last evening (Wednesday, October 31) whereas the other versions were installed months (StrategyDrivenProfessional.com) or over a year (StrategyDriven.com) ago. The only modification made to Display 3 in 1 was to the Header (with your advice) to show the StrategyDriven corporate logo as text instead of an image.

    Please note that the StrategyDrivenAdvisoryServices.com website is under construction and so you will see many of the default settings and images and undeveloped drop down menus, etc.

    Any insight you can provide to help me align my StrategyDrivenAdvisoryServices.com images to the right is greatly appreciated. Please let me know if you need any additional information.

    All the Best,

    Nathan

    #95682

    Hi Nathan,

    The one with the issues is actually a different version of the theme (2.0.5 vs 2.0.2). So the style.css is slightly different.

    You can change the style.css file where the alignleft and alignright classes are located to switch things back to how they were and it should fix it for you. From wordpress, go to Appearance>Editor and by default it should show your style.css available for editing. Search for:

    .alignleft{
    float:left;
    margin:0px 15px 15px 0pt;
    }

    .alignright{
    float:right;
    margin:0px 0pt 15px 15px;
    }

    If you just search for one, the other is right below it right around line 872. Change those two styles to be:

    #top div .alignleft{
    float:left;
    margin:0px 15px 15px 0pt;
    }

    #top div .alignright{
    float:right;
    margin:0px 0pt 15px 15px;
    }

    Then make sure to save (Update File) and that should do it. If you aren’t able to edit the files because of a permissions issue, you’ll need to do the same change via FTP. The style.css file will be in the main directory of the theme files.

    Regards,

    Devin

    #95683

    Hi Devin,

    That did the trick! Thank you for getting back to me so quickly. I greatly appreciate your support.

    Have a great weekend!

    All the Best,

    Nathan

    #95684

    Glad we could help :)

    Regards,

    Devin

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

The topic ‘Images not aligning to the right’ is closed to new replies.