Posted by lordkelvin on April 24, 2009 at 12:49am
hi,
I recently installed and modified acquia slate theme onto my site and I absolutely love it.
I just have one thing that bothers me. Unlike the left sidebar, I see that right sidebar doesn't have borders which makes it look very disorganized. I want to know how I can enable the border for the right sidebar.
for your info, my site is: http://www.roflegion.com
Thank you,
Kelvin

Comments
Screen Shot would be nice.
Screen Shot would be nice.
you could've just visited my site...but whatever
hope this illustration helps
Thankfully this is a very
Thankfully this is a very simple fix due to the way the rounded corners are styled in the theme. Open up the "template.php" and go to line 297.
Change it from:
$rounded_regions = array(sidebar_first);
To:
$rounded_regions = array(sidebar_first, sidebar_last);
Save your updated template.php, clear your site's cache and you should be all set. And if you want the rounded corners to appear on all pages rather than just the front page (which I assume you do), open up the "block.tpl.php" file and go to lines 7 and 27.
Change it from:
<?phpif ($is_front AND $rounded_block):
?>
To:
<?phpif ($rounded_block):
?>
Hope that helps!
-Jeremy
==================================
Eternalistic Designs - www.eternalistic.net
TopNotchThemes - www.topnotchthemes.com
-Jeremy
Eternalistic Designs
www.eternalistic.net
also easy?
thank you for solution, for us, who know nothing about programming is your information blessing.
what I have to change to have rounded corners at content, each node or whole content at front page?
Don't think so
I think you'll need to add that manually to the theme as the code above I was referring to was for blocks only. You should be able to grab the HTML output from the blocks and do something similar to the content area in the page.tpl.php though.
-Jeremy
==================================
Eternalistic Designs - www.eternalistic.net
TopNotchThemes - www.topnotchthemes.com
-Jeremy
Eternalistic Designs
www.eternalistic.net
thank you
thanks so much for your help!
it looks beautiful int he front page block, but in the other pages, the border appears to be broken. (please take a look at attached screenshot)
do you have a fix for this as well?
Thanks,
Kelvin
Weird
Not sure what's going on there, sorry. The changes I suggest above were to be make to an unmodified version of the Slate theme so perhaps you have other changes in your theme that area affecting the sidebar regions? Hard to tell without looking at the code so I would just recommend undoing the changes I suggested and try them again to be sure.
-Jeremy
==================================
Eternalistic Designs - www.eternalistic.net
TopNotchThemes - www.topnotchthemes.com
-Jeremy
Eternalistic Designs
www.eternalistic.net
your a saint
Thanks to Jeremy for the rounded corner fix - superb!