This forum is for assistance with theme development.

CSS Selectors for Aggregator

Few questions.
Is there a listing somewhere that has all the aggregator CSS selectors that drupal uses by default?
So far the only one I can find is:
#block-aggregator-feed-1
which lets me stylize the blocks fine, although I have to have #block-aggregator-feed-1, #block-aggregator-feed-2, #block-aggregator-feed-3: ect....
so it can get long winded. It would be nice to find one of all the feeds, and what I really am looking for is how to edit the title of the block feed?
Ive tried things like:
#block-aggregator-feed-1.title ... but to no avail.

Dynamic maintenance mode page

Hi Guys,

I'm looking for a way to have a dynamic maintenance mode page. I was thinking to let the user edit a node of content type 'basic page' and as soon as the website goes into maintenance mode, I want to show the content of this created node.

Before I start testing I wanted to be sure that Drupal will allow me to have interaction with the database in the template of the maintenance mode.

This will give me the ability to load the content of the node and output it in the maintenance mode page.

Is this a good idea or not?

Thanks in advance!

entity_metadata_wrapper file load

I'm trying to load and get the file using entity_metadata_wrapper. this is my code


$wrapper = entity_metadata_wrapper('node',$variables['node']);
$file_field= $wrapper->field_library_file->value();
$variables['file'] = theme('file_link', array('file' => file_load($file_field['fid'])));

and print $file; outputs nothing. I've found this in this address . how can I get set of files that belongs to a node.

thanks.

Superfish Menu Resizing

Hi,
When I first installed superfish it created a great navbar style menu in my custom theme with no problems other than not all the menu items on thefirst level fitted on to one line. I created my own style in the superfish library in which i adjusted the size of the font and padding to get all the items onto one line, however once all the items are the correct size for the page the sub menu no longer opens. I'm not sure if it is now getting hidden behind other content or the page or something else. Please help!

Thank you.

Language switcher in node content

I need to add a language switch in the middle of the node content.
I would need such as a language switcher as content type field

Any help is really appreciated

Unpublishing Products

I am using the Expressa theme with Drupal 7.26 and I've got some products/product types set up that I would like to hide in the store. I've set them to 'disabled' but they still show up in the store with 'Product Not Available' instead of 'Add To Cart.' I've tried to set the stock quantity to 0 but they remain in the store.

Pages

Subscribe with RSS Subscribe to RSS - Theme development