The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Post Top Margin

View previous topic View next topic Go down

Solved Post Top Margin

Post by CatherinaAndrea on October 24th 2011, 5:48 pm



How do i make the post start a bit lower so its not crossing over the top header.

I thought it would be this bit of code, but i don't know what to add to it.

Code:
.post{
        border : 1px solid #000000;
   background-color: #0f1216;
   margin: 8px;
background-image: url('http://i40.servimg.com/u/f40/14/90/77/10/module14.jpg');
margin-left: 8px;
margin-bottom: 10px;
}


Last edited by CatherinaAndrea on October 24th 2011, 8:16 pm; edited 1 time in total

CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Post Top Margin

Post by LGforum on October 24th 2011, 6:08 pm

.postbody {
margin-top: 30px;
}

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Post Top Margin

Post by Dappy on October 24th 2011, 7:19 pm

Add to your class: margin-top: 20px; or top: 20px;

Dappy
Forumember

Male Posts : 25
Reputation : 1
Location : Every one !

http://help.forumotion.com

Back to top Go down

Solved Re: Post Top Margin

Post by CatherinaAndrea on October 24th 2011, 7:45 pm

The .postbody{ worked wonderfully, thank you Wink

How about the avatar tho, is there a way to make it go down a little bit inside the .postprofile { ??

See screenshot for what i mean:

CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Post Top Margin

Post by LGforum on October 24th 2011, 8:12 pm

Could try one of these:

.postprofile {
padding-top: 30px;
}

or
.postprofile dt {
margin-top: 30px;
}

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Post Top Margin

Post by CatherinaAndrea on October 24th 2011, 8:15 pm

.postprofile {
padding-top: 30px;
}

That one did the trick, thank you so much.

Topic can now be closed.

CatherinaAndrea
Forumember

Female Posts : 230
Reputation : 19
Language : English, Russian, Dutch

http://www.nailphanatic.com/

Back to top Go down

Solved Re: Post Top Margin

Post by Sanket on October 24th 2011, 8:33 pm

Since this thread is marked solved, I will lock this thread.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum