Hey!

Would really like to have round Block-Title edges since this real good template looks really a bit too edgy.
Any way you can include a easy way to activate rounded block edges?
I'd like to have the block round on top and edges on the bottom but I have no Idea how to change the template for this (juggled around a bit and tried to get it working but got no good result - Tried to copy a bit from Pixture Reloaded theme).

CommentFileSizeAuthor
#9 Danland.jpg53.89 KBRomejoe
#5 Image1.gif100.25 KBPolk

Comments

danpros’s picture

Version: 6.x-1.9 » 6.x-1.10

Hello,

Yes with rounded corner or color module then its a perfect theme :)

For rounded corner you can visit this site. Take a look in the CSS

#sidebar-left h2.block-title,
#sidebar-right h2.block-title {
background: #494949;
background:-moz-linear-gradient(top, #303030, #494949); /* Firefox */
background:-webkit-gradient(linear, left top, left bottom, from(#303030), to(#494949)); /* Safari, Chrome */
margin:0;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
padding-right: 10px;
font-size:13px;
text-transform:uppercase;
border-right: 1px solid #494949;
border-left: 1px solid #303030;
border-top: 1px solid #303030;
color:#ffffff;
text-shadow: 1px 1px 0px #303030;
-moz-border-radius: 4px 4px 0px 0px;
-webkit-border-radius: 4px 4px 0px 0px;
}

#sidebar-left .block-content,
#sidebar-right .block-content {
background-color: #f4f4f4;
border-right: 1px solid #bbb;
border-bottom: 1px solid #bbb;
border-left: 1px solid #ddd;
border-top: 1px solid #cccccc;
-moz-border-radius: 0px 0px 4px 4px;
-webkit-border-radius: 0px 0px 4px 4px;
}

	

Work nice in Firefox.

Polk’s picture

Hi, Dan,

This does work beautifully in Firefox! I'm still unable to get rounded blocks in IE, though....

Leslie

Polk’s picture

I've used the Jquery Eye Candy Curvy Corners for other websites, but can't get it to work with the Danland theme. It messes with the Superfish menu block, but doesn't affect the blocks in the right or left sidebars. I'm using this code in the JQuery Eye Candy Curvy Corners form:

$(document).ready(function() { $('.block').corner(); })

I've also tried using .defaultblock, but that doesn't affect anything.

Does anyone have any ideas?

Thanks in advance,

Leslie

danpros’s picture

Yes it only work on Firefox, in IE the best solutions is using image to creating the rounded corner.

How about using code like this

<script type="text/javascript">
    jQuery(document).ready(function($)  {
        $(.block).corner();
    });
</script>
Polk’s picture

StatusFileSize
new100.25 KB

Hi, Dan,

I inserted the above scripting code in the CurvyCorners plugin form found at /admin/settings/jq_eyecandy It does not work. I'll attach a screenshot. Is there somewhere else I should be pasting the code?

I'm getting frustrated; there has to be some way to make this work in IE!

Thank you!

Leslie

danpros’s picture

What is the code you put in your website that work using this plugin?

How about only like this

 jQuery(document).ready(function($)  {
        $(.block).corner();
    });
Romejoe’s picture

In e.g. pixture reloaded it is solved with images displayed in the edges of the block but since I`m not deep enough into css I got frustrated finding the reason for a step showing up between the left and right part of the block header. So I gave up.

But I now working on something other with blocks noticed there is a 1px or so empty space between the outer DIV tags and the Title DIV of the block I assume this is a bug, since it shows not up in pixture_reloaded theme. Maybe you can look into it then getting round edges done with picture should be easy.

danpros’s picture

Status: Active » Closed (won't fix)

Hi,

I'll mark this as wont fix.

Thanks,
Dan

Romejoe’s picture

Status: Closed (won't fix) » Postponed
StatusFileSize
new53.89 KB

Hmm.... must have made a mistake as I reported it was not caused by Danland.

I today checked more into it since I got some time and it pissed me off again. This time I tried 2 other themes and both did break in a second line but Danland didn't.

(see picture)

I tried without my css - The same....
Will test with the latest Version at Monday or so and either close or give more info on it.

Romejoe’s picture

Got heavy load of work atm will probably take a week before I get time to check.

danpros’s picture

Issue summary: View changes
Status: Postponed » Closed (cannot reproduce)