Solved

Trying to align two elements on website CSS HELP

Posted on 2011-09-20
5
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

756 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