A border around each post
Posted December 26th 2011, 10:46am
just wondering if anybody knews the css code for this

at the moment my forum it look like this:-
Image

i want to change to this
Image
φ
Posts: 29
Joined: December 17th 2011, 12:00am
Re: A border around each post
Posted December 26th 2011, 10:50am
You have two options which might be nice:

Option 1, around the whole post:

.post {
  border: 2px solid #105289;
}


Option 2, around the postbody:

.postbody {
  border: 2px solid #105289;
}


Obviously change the color to something you'd prefer.
φ
Posts: 509
Joined: July 9th 2011, 11:00pm
Location: England
Likes Given: 15
Likes Received: 26
A border around each post
Posted December 26th 2011, 11:37am
nice one lgforum :)
φ
Posts: 29
Joined: December 17th 2011, 12:00am
Re: A border around each post
Posted December 26th 2011, 6:06pm
LGforum said:
You have two options which might be nice:

Option 1, around the whole post:

.post {
  border: 2px solid #105289;
}


Option 2, around the postbody:

.postbody {
  border: 2px solid #105289;
}


Obviously change the color to something you'd prefer.


And option 3:
.postprofile { your style codes }

:D
φ
Posts: 37
Joined: August 27th 2011, 11:00pm
Location: Србија/Serbia
Likes Given: 4
Likes Received: 2
A border around each post
Posted January 23rd 2012, 5:19am
Can this be applied to widgets?
φ
Posts:
Avatar
Guest
Re: A border around each post
Posted January 23rd 2012, 8:36am
depending on your sidebar (change left to right in the script depending)


#left .module {
  border: 1px solid #c05;
  border-radius: 8px;
}
#left .module .corners-bottom, #left .module .corners-top { display: none }


Try that.
φ
Posts: 509
Joined: July 9th 2011, 11:00pm
Location: England
Likes Given: 15
Likes Received: 26
A border around each post
Posted January 23rd 2012, 5:36pm
Thats excellent!

Thanks
φ
Posts:
Avatar
Guest

Who is online

Users browsing this forum: No registered users and 0 guests