This forum is for assistance with theme development.

| between menu items

How do i get a "|" between my menu items.
Is this a CSS isseu, of can i fix this in my template (engine).

Zen with infinite image flexibility

Reposted from http://groups.drupal.org/node/3264 'cause I should have put it here instead

Hi,
I'm very new to Drupal, wasted a week with Joomla before the poor template adaptability to skill ratio got me (all those annoying tables). Have been learning CSS mainly through playing with CSS Zen Garden, though my page is still going through iterations before I get it to do what I want without being able to create different style sheets to compensate for the quirks of different browsers.

Anyway what I want to do is similar to having the extradivs in CSSZenGarden.

So far I've added
- image divs to style.css
with position: absolute;
and width and height 100%;
- regions to template.php
so I can add and assign the images as html within the blocks, which means I can assign them to different pages etc
- and extra divs to page.tpl.php just inside the tags

the problem is the html it spits out is

<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>"> <div class="blockinner">
<h2 class="title"> <?php print $block->subject; ?> </h2>
<div class="content">
<?php print $block->content; ?>
</div>
</div>
</div>

the img is nested all these extra divs and so is not absolutely positionable floating anywhere over or under the text.

what's the appropriate hook to theme taxonomy/term/n pages?

I'm looking to enhance the layout of the default taxonomy pages, but it seems to be rather hard-coded.

Default theme: Garland modification

Hi,

I was wondering, how do I make the 'slogan' text in the default theme garland smaller? Right now, it's the same size as the 'name' of the website, but it's way too big.

Firefox web developer tool tells me the modification should be in style.css, but when I tried to change things, it seems to affect BOTH the 'name' and 'slogan' text size.

All I want to do is make 'slogan' text smaller.

Thanks!

views- theme wizard seems not working.. why?

hi guys,

i created some views and tryd to modify the templates using theme wizard.

if i insert the generated code in template.php ....tpl.php.. and css and modify it, no changes will displayed.

i always see the default view theme.

i can completly emty the tpl file for a view and nothing happen.

the design is always the same...

why?

How do I display vocabulary data from a node object?

I am attempting to display information from a randomly selected node from the database. I am able to get a Node ID (nid) and get all the information I need by using the function,

$random_node = node_load(array('nid' => $nid));

Below is the information that gets returned. I'm wondering how I can reliably print the value "Kayaking" in the [taxonomy] array. I'm guessing the value 68 is unique to this node. So I can't reference

$random_node->taxonomy[68]->NAME

Any tips on how to output a class object that is in an array with a variable array index (I'm not even sure of I'm asking that question right)?


stdClass Object
(
[nid] => 27
[vid] => 27
[type] => review
[status] => 1
[created] => 1174711490
[changed] => 1174796037
[comment] => 2
[promote] => 0
[sticky] => 0
[revision_timestamp] => 1174796037
[title] => title
[body] => body
[teaser] => body
[log] =>
[format] => 1
[uid] => 2
[name] => spanders
[last_comment_timestamp] => 1174711490
[last_comment_name] =>
[comment_count] => 0
[taxonomy] => Array
(
[68] => stdClass Object
(
[tid] => 68
[vid] => 4
[NAME] => Kayaking
[description] =>

Pages

Subscribe with RSS Subscribe to RSS - Theme development