This forum is for assistance with theme development.

4.7 graphical tabs - can anyone help?

Hello everyone,

I'm attempting to implement graphical tabs for my primary links in a customized theme. I'm using the lastest 4.7 beta, and working off a copy of bluemarine, doing incremental changes to the CSS to achieve what I want.

I have already reviewed:

http://drupal.org/node/31704

But I've run into a couple of problems:

1. The page.tpl.php code it refers to [ if (count($primary_links)) ... etc] that you need to swap out to differentiate the active tab appears to have disappeared from the latest incarnation of the bluemarine theme. Where has this gone?

2. As a starting point for customization, I've copied in the css code at the node referenced above into my stylesheet, and I'm using the the tab graphics from http://www.alistapart.com/articles/slidingdoors. You can see the results here: http://www.whatdoesthatmean.ca which looks absolutely nothing like http://www.alistapart.com/d/slidingdoors/v1/v1.html.

At this point I'm not sure if that's failed because I've been unable to implement the PHP code change that's shown, or for another reason.

3. I'm also not clear, because the documentation hasn't been updated (I don't think - couldn't find it anyway) as to whether I need to download and install a theme engine separately if I'm using 4.7. I gathered from http://drupal.org/drupal-4.7.0-beta that PHP was the default engine and was incorporated into the Drupal core code, but obviously I could be mistaken about that.

Drupal.css styles are too wide for my fixed width content area, Is there an easy way to fix this?

Alot of my themes only give you like 500px space for the content or node. In the administration pattern alot of the pages there like settings page, for example are way too wide.

Is there an easy way to cram it into a fixed width?

Are those styles in misc/drupal.css I'm guessing?

Thanks

Jay

Block Link Colour Issue

Hello,

I've been modifying CivicSpace's Declaration script all day and have become stuck on one part.

Any links that appear in menu Blocks (such as "Recent Blog posts" and "Who's Online") are stuck at #3366CC (51,102,204). I've managed to change every single other colour in the theme just can't find any trace of what relates to links within blocks.

A screenshot of what I mean is located at: http://www.theomen.co.uk/temp/linkissue.png

admin pages $content display issues in my new theme

Using Drupal 4.6

Hi all,

Perhaps someone can point me in the right direction. I've developed a simple 3-column theme that's working just fine except for one glitch: when I go into the administer pages, I see everything displayed in my center column but the top portion text and navigation tabs.

As far as I can tell, those elements should just be part of the $content spitout. I have $content embedded in its own < div > in my page.tpl.php with little formatting except for padding & type, and the < div > isn't floated, so I doubt it's my CSS? I tried eliminating the < h2 > segment I have placed directly above the $content just in case; no go. Yet when I switch to a default theme, say Kubrick, I can see the tabs and text as per normal.

Is there some variable or piece of tpl.php I've overlooked that governs the display of the explanatory text and tabbed top menu of the admin pages?

Here's the relevant piece of xhtml:

<div id="middle"><div class="column-in">
				<h2 class="subtitle">un journal du jour</h2>
	                                <?= $content ?>
</div></div>

A snapshot of the problem:
http://cpe-72-224-179-5.maine.res.rr.com/gazetteadmin.jpg

I've searched through other themes to see where I'm going wrong, but only see $content on them as well. Damndest thing; it's likely something really simple I'll kick myself for. Can someone advise me? Much obliged!

Question in developing a new release of the Drupal Theme Generator Program

Question in developing a new release of the Drupal Theme Generator Program

I am currently working on a new release of the Drupal Theme Generator Program (http://drupal.org/node/36302). A built-in Preview utilizing a preview.html file is used to view the themes on your local machine for quick review.

The problem I am having is that the Firefox browser does not display the referenced images that include a file path in the style.css file. This only affects Firefox and works fine in Internet Explorer 6.

For example, the following three images which include a local file path will not display in the Firefox browser:

/* Custom styles used for graphic image type themes */
td.header-topcenter {
  background: url(file:///C:/My Documents/Drupal Theme Designer/Preview/header-top-center.png);
}
td.header-bottomcenter {
  background: url(file:///C:/My Documents/Drupal Theme Designer/Preview/header-bottom-center.png);
}
td.header-leftcenter {
  background: url(file:///C:/My Documents/Drupal Theme Designer/Preview/header-left-center.png);
}

If I remove the file path statement and just use the image names as shown below, then the images appear in Firefox:


/* Custom styles used for graphic image type themes */
td.header-topcenter {
background: url(header-top-center.png);
}
td.header-bottomcenter {
background: url(header-bottom-center.png);

Developing Theme: Using CSS to put a simple <div> box around the tracker module.

Hey everyone,

I am a complete CSS newbie...you may remember that about a week ago I was looking for someone to help develop a theme for me. Samat in particular expressed an interest in helping me develop the theme, and I am thankful for his time. But I ultimately decided to try and do it myself. I suppose the spirit of open source CMS got to me. :)

Pages

Subscribe with RSS Subscribe to RSS - Theme development