The block-icons have a negative top positioning and is cut off at the top. (Firefox 3.6, IE 8) Adding padding of 15px to the block div or margin of 15px to the block inner div fixes the problem.

Comments

jeremycaldwell’s picture

Assigned: Unassigned » jeremycaldwell

Is the same thing occurring when you have a rounded corners and background style on your block? The icons' negative top margin was there so it aligns correctly in that block configuration so my guess is that is the reason. If you have a link to your site showing this issue that would be very helpful to see. Thanks.

ndwilliams3’s picture

Yes it is. The main block div has overflow hidden and the negative margin extends the icon outside of the main div. I don't have the site live yet.

jeremycaldwell’s picture

StatusFileSize
new130.07 KB

Do you have a screenshot of this issue? Attached is what it looks like on my development server which appears correct so not sure what is causing the issue on your site yet. Do you have any other CSS changes other than the default styles from the theme?

ndwilliams3’s picture

StatusFileSize
new24.04 KB

I also checked using the default install of 6.x-3.0-alpha1. The screeshot is using the default install.

jeremycaldwell’s picture

Seems I need to add a bit more logic to the CSS for this one. If you select the Skinr style "Rounded corners" it will work as that negative margin is based off of that setting. So without the rounded corners it doesn't appear correctly as you have pointed out in the screenshot. Will work on this one a bit more so it displays correctly for both instances. Thanks for bringing up this issue and providing the screenshot, they were very helpful.

jeremycaldwell’s picture

StatusFileSize
new31.63 KB

I think I have it working correctly now if you would like to try it out. Attached is the updated stylesheet for the theme and goes in the /css folder. Please give it a try and let me know if it works well for you or not. Be sure to remove the _.txt from the extension as it should be .css and overwrite the one in your theme's /css folder.

jeremycaldwell’s picture

Status: Active » Fixed

Fixed in the Alpha 2 release.

dddave’s picture

Version: 6.x-3.0-alpha1 » 6.x-3.0-alpha2
Status: Fixed » Active
StatusFileSize
new6.91 KB
new9.74 KB

Tested within panels and in normal regions. Pics are from blocks in the footer. Some icons like the chalkboard are doing fine. I used the star to demonstrate the problem.

Pic1: Top is cut off slightly (settings: Rounded corners enabled + block title style)

Pic2: Disabling the rounded corners but having a block title style pushes the icon down.

Am I missing something here?

jeremycaldwell’s picture

Thanks for catching that dddave, not sure how that fix didn't get into the latest release, oops! Here is the CSS that fixes that for now though:

.block-icon {
  height: 48px;
  left: 0;
  position: absolute;
  top: 0;
  width: 48px;
  z-index: 100;
}

.marina-rounded-corners .block-icon {
  top: 0;
}

I'll double check later that this gets into the next release.

dddave’s picture

No biggie. Thx for the fix.

modctek’s picture

The above CSS didn't fix the issue for me :(

I tried correcting the theme css, as well as putting the above into local.css. No change, icons are still getting clipped.

Apparently flushing the theme registry once wasn't enough. :)

linxjp’s picture

Thanks for the #9 CSS fix. It solved my icon cut off issue. Great theme!

jeremycaldwell’s picture

Status: Active » Reviewed & tested by the community
jeremycaldwell’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in the beta release of the theme.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

charybdiss’s picture

StatusFileSize
new30.57 KB

I have a problem related to this one (didn't know whether it's worth starting a new topic). I am testing my site in different browsers and in Opera my icons are displayed perfectly, but in IE and Chrome they run out from the "block area"... I need the icons to fit the background like they do in Opera (it's not a problem to add some px on top and left, but then the icons are logically moved in Opera instead). I'm adding an image, hope it's illustrative.

dddave’s picture

Status: Closed (fixed) » Active

Nobody is gonna see a closed issue. ;)

Have you tested with FF?

jeremycaldwell’s picture

Status: Active » Fixed

Changes have been made and the fix is in the latest release of the theme.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.