Great theme. One issue I ran into is in the customization instructions in _custom/custom-style.css. They indicate that you should make your edits and rename custom-style.css to local.css, however, local.css is not called as a css by the theme.

Adding
drupal_add_css(drupal_get_path('theme','zeropoint').'/_custom/local.css');
to the template.php file does the trick. Either add this code to template.php or if renaming to preserve upgrade ability is not really necessary, then maybe we should remove the instruction to rename to local.css on line 11 of custom-style.css. I can submit a patch if you like...

Comments

Florian’s picture

You are right. I forgot to cut that line. Just put your custom css in custom-style.css and you will be fine.

alvinlb’s picture

Hey Florian,

Nice theme!

When I make a change in cutom-style.css, for example a block icon, its not appearing on my page. Any ideas? I've cleared Drupal and IE cache.

Heres how the .css looks (maybe I've overlooked something!)

/*******************************/
/* UPDATE ICONS FOR NEW BLOCKS */
/*******************************/
/* where XXX is the block number */

/*
block-block-1 .block-icon {
background: transparent url(../images/icons/blocks/icon_apps.png) no-repeat;
}
*/

Florian’s picture

It should work if you look at your block number and change the script accordingly. For example, if your new block is the third, the script will become:

block-block-3 .block-icon {
background: transparent url(../images/icons/blocks/icon_apps.png) no-repeat;
}

Pay attention to the image path :)

I always prefer to put everything extra to the _custom folder. So, if I put an image in a folder named images under the _custom folder, the css will become:

block-block-3 .block-icon {
background: transparent url(../_custom/images/IMAGENAME) no-repeat;
}
ricabrantes’s picture

Hey Florian, Thanks for Nice theme!

I have the same problem..

block-block-1 .block-icon {
background: transparent url(../_custom/images/contact.png) no-repeat;
}

Please Help

maddentim’s picture

@ricabrantes and @alvinlb - isn't your block-block-1 (or -3) an ID? In that case, you must begin with # like this:

#block-block-1 .block-icon {
background: transparent url(../_custom/images/contact.png) no-repeat;
}
eodonnell’s picture

I was having the same problems - when you create a new block, the theme wasn't adding <div class="block-icon pngfix"></div>

If you add this to your block code before your content it works.

Florian’s picture

Category: bug » support
Florian’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)