View Full Version : Create rounded corners for articles
dano9258
02-16-2012, 05:47 PM
I have been searching everywhere for a way to create rounded corners for my articles on the homepage. The sidebar with the recent fourm post has rounded corners like I want, but I can't get the articles to have it.
Also, if you guys could help out, I would like the comments and read more links in a gray bar at the bottom if possible. I can't figure out how to do this either.
http://www.autocurb.com (http://www.autocurb.com)
Lynne
02-17-2012, 12:16 AM
Something like:
div.article_preview { border: 1px solid black; border-radius: 5px;
}
dano9258
02-17-2012, 03:37 AM
Yes, that is perfect. Thank you so much!
--------------- Added 1329458978 at 1329458978 ---------------
Alright, so now I have another problem. As I stated in the first post, I want to make the background to the title and read more a different color. I managed to get the read more to become a different background color. But that is only 50% right side, therefore the comments side is only the correct background color if there are comments posted. So my question is, how do you set the background color to the 50% left side (the comments side) when there are no comments yet. Again, please see the site for the example. Thanks in advance
Lynne
02-17-2012, 03:41 PM
You would need to actually modify the template to do that. There is a condition around the <span class="cms_article_comment_number">stuff</span> tags so that they don't show if there are no comments. So change it to show the span tags anyway.
dano9258
02-17-2012, 07:17 PM
Its not in that vbcms.css file because I just looked through the whole thing and there are no conditional statements around cms_article_comment_number. Any idea where it might be putting the conditional statements (what file?).
--------------- Added 1329513848 at 1329513848 ---------------
Disregard last, I found it. Thanks for all the help, I would never of figured this out otherwise. For those who are interested, its in the template vbcms_content_article_preview
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.