Solved

Trying to align two elements on website CSS HELP

Posted on 2011-09-20
5
277 Views
Last Modified: 2012-05-12
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
Comment
Question by:VenusBreeze
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:mykde
ID: 36571544
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
 

Author Comment

by:VenusBreeze
ID: 36584051
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
 
LVL 3

Expert Comment

by:mykde
ID: 36585010
Can you tell me which WordPress plug-in you are using for the Feature slide show?
0
 
LVL 3

Accepted Solution

by:
mykde earned 500 total points
ID: 36585061
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
 

Author Closing Comment

by:VenusBreeze
ID: 36585127
Yay it worked! Thank you!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now