Just had to switch webhosts and figured I'd update to 2.5 AE. I'm almost done setting things up but I still have a couple of issues with rounded corners. I've resolved some of them but can't seem to get them all quite yet.

Right now, the ones that are stumping me are the corners for posts. Here's a picture of what I'm talking about:

It sure looks like those post corners should be rounded, but I can't seem to figure out what I need to do to fix it. I've done similar fixes for the titlecorners.

Any suggestions?

Thanks,Chad

IP Logged

Derek Barnstorm

Support TeamYaBB Next TeamDevelopment TeamBeta Testers
Offline

Posts: 1,269
Location: United Kingdom

None

Re: Rounded corners on postsReply #1 - May 20th, 2011 at 1:41pm

Hi,

I don't know what the CSS is actually supposed to be doing there because the background colour is the same as the container background colour, so it doesn't actually do anything.

Are you trying to add rounded corners or eliminate them?

If you want to keep them, then you will need to increase the padding and change the background colour in this bit of the CSS file:

I think you'll still need to remove those border-radius declarations though.

« Last Edit: May 20th, 2011 at 4:58pm by Derek Barnstorm »

IP Logged

OTR

YaBB Newcomer
Offline

Posts: 19

YaBB 2.6.1

Re: Rounded corners on postsReply #4 - May 20th, 2011 at 5:24pm

I'll give all of this a whirl when I get home in a couple of hours.

Thanks for all of your help, Derek!

IP Logged

Derek Barnstorm

Support TeamYaBB Next TeamDevelopment TeamBeta Testers
Offline

Posts: 1,269
Location: United Kingdom

None

Re: Rounded corners on postsReply #5 - May 20th, 2011 at 5:56pm

Okay, no worries.

IP Logged

OTR

YaBB Newcomer
Offline

Posts: 19

YaBB 2.6.1

Re: Rounded corners on postsReply #6 - May 20th, 2011 at 9:40pm

I did everything suggested above. It went in the opposite direction that I was hoping, but it does look better at least.

Any suggestions as to how to move from square to corners?

IP Logged

OTR

YaBB Newcomer
Offline

Posts: 19

YaBB 2.6.1

Re: Rounded corners on postsReply #7 - May 20th, 2011 at 9:41pm

Bah, here's the image I tried to display:

IP Logged

Derek Barnstorm

Support TeamYaBB Next TeamDevelopment TeamBeta Testers
Offline

Posts: 1,269
Location: United Kingdom

None

Re: Rounded corners on postsReply #8 - May 20th, 2011 at 9:54pm

If you made the changes to the default template in Display.template, then the code I posted should be working fine. I've checked it on two test boards, and the rounded corners display as they should. Double check that you made the correct changes...

« Last Edit: May 20th, 2011 at 9:57pm by Derek Barnstorm »

IP Logged

Derek Barnstorm

Support TeamYaBB Next TeamDevelopment TeamBeta Testers
Offline

Posts: 1,269
Location: United Kingdom

None

Re: Rounded corners on postsReply #9 - May 20th, 2011 at 10:13pm

I've attached it to this post, so just overwrite your Display.template with this one. Obviously make a back-up of yours first though, just to be safe.

Edit was done to Display.template found in cgi-bin/yabb2/Templates/default/

I replaced it with the file you provided. Square corners persist (looks the same as the last image I posted). It's a trickly little bugger.

IP Logged

Derek Barnstorm

Support TeamYaBB Next TeamDevelopment TeamBeta Testers
Offline

Posts: 1,269
Location: United Kingdom

None

Re: Rounded corners on postsReply #11 - May 20th, 2011 at 10:39pm

Are you using your own template with a different name? I notice that your CSS file is named Uber.css, so if you have a 'Uber' directory with a Display.template in it, then you'll obviously have to make the changes to that.

IP Logged

OTR

YaBB Newcomer
Offline

Posts: 19

YaBB 2.6.1

Re: Rounded corners on postsReply #12 - May 20th, 2011 at 11:16pm

Nope, only directories are default/ and yabb21/ in both of the following locations:

cgi-bin/yabb2/Templates/

yabbfiles/Templates/Forum/

IP Logged

Derek Barnstorm

Support TeamYaBB Next TeamDevelopment TeamBeta Testers
Offline

Posts: 1,269
Location: United Kingdom

None

Re: Rounded corners on postsReply #13 - May 20th, 2011 at 11:30pm

Then, I'm afraid I really don't know what you are doing wrong. This is a test board with the changes I gave you and using your CSS: