![]() |
CSS Rounded Corners for 4.2.x
Hi all
I have been working on a solution, and have compiled some code that is working well. Here you go! Add this to the bottom of skin1/main.css Code:
.xrounded h1, .zrounded h1 { Change the code in skin1/menu_dialog.tpl to this: Code:
<div class="xrounded{if $additional_class} {$additional_class}{/if}"> Change the code in skin1/dialog.tpl to this: Code:
<div class="xrounded{if $additional_class} {$additional_class}{/if}"> |
Re: CSS Rounded Corners for 4.2.x
This is a work in progress, I have found one problem.
The login menu is not displaying properly. Any ideas guys? http://www.breathalyzercanada.com/skin1/images/banners/user.png |
Re: CSS Rounded Corners for 4.2.x
Probably a float element in the menu that is not cleared
|
Re: CSS Rounded Corners for 4.2.x
Quote:
That's what I was thinking. Do you think it would be in the menu_dialog.tpl or in the User Menu .tpl file? Do you now which .tpl file set that menu? |
Re: CSS Rounded Corners for 4.2.x
The menu is in menu_dilaog.tpl but I don't think the problem is there. It is in the template showing the login/register buttons
|
Re: CSS Rounded Corners for 4.2.x
I have narrowed it down to these lines of code, any ideas?
The error occurs with the placement of the buttons within the <div>. Code:
{if $main ne "login_incorrect" and $main ne "antibot_error" and $main ne "disabled" or $config.Security.use_secure_login_page eq "Y"} |
Re: CSS Rounded Corners for 4.2.x
You have to look at the style classes - can't tell you like this
|
Re: CSS Rounded Corners for 4.2.x
I believe the problem lies with the box not auto changing in height to accommodate the buttons.
How do we change it so the box sees the buttons as objects and changes height to fit them? |
Re: CSS Rounded Corners for 4.2.x
I have it working in IE & Safari but NOT in FF with this code.
http://www.breathalyzercanada.com/skin1/images/banners/user3.png Any ideas? Code:
{if $main ne "login_incorrect" and $main ne "antibot_error" and $main ne "disabled" or $config.Security.use_secure_login_page eq "Y"} |
Re: CSS Rounded Corners for 4.2.x
HI,
Can you PM the site link Thanks |
All times are GMT -8. The time now is 06:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.