Solved

Trying to align two elements on website CSS HELP

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculating percentage 2 47
How do I get WordPress Sydney Theme to show Navigation Menu? 21 41
Div not showing up 6 32
How does this modal work? 3 33
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like theā€¦
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

739 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