Solved

Trying to align two elements on website CSS HELP

Posted on 2011-09-20
5
287 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

937 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

11 Experts available now in Live!

Get 1:1 Help Now