-
Images out of place
Hi guys,
I'm having problems getting images to show within a certain area on the homepage of my site. The site is powered by wordpress and I am using a custom field plugin to call the image to the position I want it on the homepage.
I know that the code I should ad is the following: <?php custom_field_image() ?>
But when I add this code in replace of the previous code (calling for text) the image appears beneath the area I want it to be.
Any ideas on what I can do to rectify this problem?
site url: http://businessnoob.com
Thank you for your help!
Daniel
-
-
your image is the fault
try this or do ather image
<li>
<img src="http://businessnoob.com/wp-content/uploads/2010/01/QUOTESSDR1.png" alt="slide2"/>
<span class="desc"style="position:absolute;width:900px;height:50px;right:10px;top:10px;padding:16px;background:#000000;border:2px solid #2266AA"align='top'>
Motivational quotes from past and present seem to have a great affect on the way we as entrepreneurs view our work, some use them to gain a sense of inspiration, whereas others use them to merely guide them in the right direction. Whatever purpose they may serve, they are highly motivational and provide a positive effect to the way in which we work.
<a href="http://businessnoob.com/26-inspirational-quotes-for-the-aspiring-entrepreneur/">Read More</a></span>
-
-
1. The output method may be a problem.
Does custom_field_image() echo directly or store the value to be output later?
Here's an example of something messy:
$text = 'hello'.world();
echo $text;
function world() { echo world; }
result: "worldhello"
Make sure the operations are happening in the right order and in the same way.
2. The template may be parsed in a complex way. Try a few different locations and by trial and error it should be possible to find out the best location.
Note: I have not looked at the html. If the ideas in the post above solve this, then that's fine. These are ideas about PHP outputting the image in the wrong place.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks