This forum is for assistance with theme development.

style.css$ is not loaded from system.module

Hi,
I am browsing system.module and it contains file_scan_directory(dirname($theme->filename), 'style.css$') which I guess means find all files in the themes directory that ends with style.css. So, a file named another_style.css should be loaded. I put some files that ends with style.css in themes/garland and they are not imported.

I would also like to hear the logic behind the decision of loading style.css$ instead of just plain style.css.

Css problem - rules apparently ignored.

I am currently setting up a new website for a client using Drupal for the first time. So far I have installed the software and done some configuration which was all fairly straightforward. I have designed a template outside of Drupal which works correctly in all browsers tested (Opera, Firefox, IE6). I then converted this to a Drupal template by inserting the php code for the various sections of content.

This did work but did not display as expected and I worked out that the css rules for the main

were apparently not being applied. The pagewidth div has a fixed width of 760px, left and right margins set to auto to centre it in the viewport and a background colour. Inside this is a 'container' div which then contains the 2 column core content of the site. A 'footer' sits below the 'container' but still inside the 'pagewidth'.

However, the 'pagewidth' rules were not applied and that div expanded to the full viewport size. The 'container' div, however, was set to 760px wide and centred. The 'footer' was positioned to the left of the 'container' instead of directly below it. The solution I found was to move the 'footer' inside the'container' and the display appeared correctly although there is still no background colour outside the'container'.

Css problem - rules apparently ignored.

I am currently setting up a new website for a client using Drupal for the first time. So far I have installed the software and done some configuration which was all fairly straightforward. I have designed a template outside of Drupal which works correctly in all browsers tested (Opera, Firefox, IE6). I then converted this to a Drupal template by inserting the php code for the various sections of content.

This did work but did not display as expected and I worked out that the css rules for the main

were apparently not being applied. The pagewidth div has a fixed width of 760px, left and right margins set to auto to centre it in the viewport and a background colour. Inside this is a 'container' div which then contains the 2 column core content of the site. A 'footer' sits below the 'container' but still inside the 'pagewidth'.

However, the 'pagewidth' rules were not applied and that div expanded to the full viewport size. The 'container' div, however, was set to 760px wide and centred. The 'footer' was positioned to the left of the 'container' instead of directly below it. The solution I found was to move the 'footer' inside the'container' and the display appeared correctly although there is still no background colour outside the'container'.

Theme lacks Collapsing Links (Input Format and elsewhere)

The theme I am currently using, Internet Jobs, for Drupal 5.1 lacks the collapsing/expanding links in places such as Input Format.

The links are available in the default but in Internet Jobs the they are links but regular text, and the contents beneath would be the link is expanded.

Where do you make Input Format (as well as the other places that have collapsing/expanding underneath) a link? Which file? I've been unable to find where Input Format is within theme files.

making primary links with borders

How do you make your primary links with the round borders on both sides like on the drupal homepage? I've tried backgrounds with both left and right borders but only one shows up. Any ideas?

Greg,

Pages

Subscribe with RSS Subscribe to RSS - Theme development