• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

Trying to align two elements on website CSS HELP

Hello, my site is stunnazine.com

and I am trying to put this small image (link) http://farm7.static.flickr.com/6175/6168494132_fe438a876d.jpg aligned to the right of the featured content slider. It is not letting me do this in wordpress...  any ideas?
0
VenusBreeze
Asked:
VenusBreeze
  • 3
  • 2
1 Solution
 
mykdeCommented:
Try wrapping the image tag in a div and placing it right after the div tag with the id="myGallery".

should work.

<div id="myGallery">
        <div class="imageElement">
           ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
            ...
        </div>
 </div>
 <div>
        <a href="#"><img src="http://farm7.static.flickr.com/6175/6168494132_fe438a876d.jpg" alt="Image" /></a>
 </div>

Open in new window

0
 
VenusBreezeAuthor Commented:
Thanks for your help, I am just confused on where I should put that code... the CSS file? the plugin file? and also do I need that long list of <div id="myGallery">
        <div class="imageElement">
           ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
             ...
        </div>
        <div class="imageElement">
            ...
        </div>

as well?

Please clarify... thank you! :)
0
 
mykdeCommented:
Can you tell me which WordPress plug-in you are using for the Feature slide show?
0
 
mykdeCommented:
AH found it.

jquery-slider-for-featured-content/featured-posts.php

edit the last two lines
from this:
	
<?php endwhile; endif; ?>
</div>

Open in new window


to this: and set the link to whatever you want.
<?php endwhile; endif; ?>
<div><a href="#"><img src="http://farm7.static.flickr.com/6175/6168494132_fe438a876d.jpg" alt="Image" /></a></div>
</div>

Open in new window

0
 
VenusBreezeAuthor Commented:
Yay it worked! Thank you!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now