WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > How to position a post div in wordpress?

Reply
  Thread Tools Display Modes
Old 10th August 10, 11:48 PM   #1
dtejada
WLC Member
 
Join Date: Dec 2009
Posts: 43
Default How to position a post div in wordpress?

Up for a challenge? I've given myself a headache over this! Take a look at this page: http://teotn.com/testimonials
this is how the logo should look: http://teotn.com

I want the bottom left corner of the logo to dip into the text area. I tried moving the "primary hfeed" up 75 pixels (negative frame) to overlap the header, but that cuts off the bottom of the logo.

The only way I could get it to work was by making that bottom corner a separate graphic and putting it next to the text, with some styling to override paragraph formatting. It works for me in Mac Firefox, but other browsers (IE, Safari, Opera) position the graphic differently vertically so it doesn't line up properly with the top part of the logo--so that's not a good solution.

Do you know Wordpress? Any idea how I can handle this? I'm not a programmer but can butcher a .php page and usually get it to work if someone tells me what to do. I'm also not very familiar with Position/Placement in CSS but I'm thinking this may offer me some hope.

Suggestions?
dtejada is offline   Reply With Quote
Old 11th August 10, 09:26 AM   #2
Niels
WLC Member
 
Join Date: Aug 2010
Location: The Netherlands
Posts: 2
Default Re: How to position a post div in wordpress?

Hi dtejada,

Separating the logo in two different parts is indeed not a good idea. It is of course a bit hard for me to edit things remotely (without access to your WordPress site) - but I have tried a few things with a small demo and Firebug. Make a backup first and then try the following:

First, remove margin-top: -75px from #primary. Then create a new css class and call it .entry-content. Give it the following attributes:

position: relative;
left: 120px;
bottom: 50px;

Please show me the changes this gives you.
__________________
Hopefully I have been able to help you. If you feel like it, please give something back.
To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
.

Last edited by Niels; 11th August 10 at 11:27 AM.
Niels is offline   Reply With Quote
Old 11th August 10, 02:41 PM   #3
dtejada
WLC Member
 
Join Date: Dec 2009
Posts: 43
Default Re: How to position a post div in wordpress?

Niels, thanks so much! Although the left & bottom positioning you gave me didn't work, I did this:

.entry-content {
position: relative;
bottom: 75px;
}

and it works! Here's a page: http://teotn.com/home-2

Thanks again, a simple solution that I never would have figured out myself!
dtejada is offline   Reply With Quote
Old 11th August 10, 04:59 PM   #4
Niels
WLC Member
 
Join Date: Aug 2010
Location: The Netherlands
Posts: 2
Default Re: How to position a post div in wordpress?

Glad everything worked out! Happy I could help.
__________________
Hopefully I have been able to help you. If you feel like it, please give something back.
To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
.
Niels is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:33 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.