CSS property only allow offset value, and not where the background should stop. For that, I simply set the width or height of the element that uses that particular image in the sprite. For elements with expandable width or height, I carefully choose the placement of the image to be used as background in the sprite, so that other images in the sprite won’t show up.
As for the gradient tool, you can select the area to apply it first by using the selection tool.
Another question on these sprite images, with respect to the main one in particular… If you go to my site at newenlightenmentnow.org you will see I replaced the RSS icon. This is an icon that is located in an icons folder and not on the sprite image. I want to repeat this for facebook, mail subscription, and twitter (I have icons for these in the folder). Essentially I want to replicate what you see in my sidebar. The widget plugin there is called “Subscription Options” – http://digitalcortex.net/plugins/subscription-options.
So my question is, for the RSS code, and to be frank – how did you manage to get it to work? I can’t find the code anywhere. I’m assuming it would not be in style.css but I couldn’t find any call functions to other psp files.
As you can see now I am lost 🙂
Yep, and that black bar for the menu is not used either. Both of them are replaced with the image in sprite_h.png file. I’ve removed them from the new version (1.0.8).
As for the RSS code, it’s in the header.php file, a few lines after the
<p id="rss"><a href="<?php bloginfo('rss2_url'); ?>" title="<?php esc_attr_e('Subscribe to RSS feed', 'graphene'); ?>"><span><?php _e('Subscribe to RSS feed', 'graphene'); ?></span></a></p>
- You must be logged in to reply to this topic.