This forum is for assistance with theme development.

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,

Three-column / Two-column

I am trying to accomplish what I hope will be an easy layout manipulation that I can not seem to defeat. I want a three-column layout on the main site index, with both left and right sidebars and a main content frame in the middle. On all other pages I want to drop the right sidebar and have the main content div expand to fill that space.
I think I am just getting tired and missing something easy. I would be very grateful if someone would point me in the direction of such a solution.

Pages

Subscribe with RSS Subscribe to RSS - Theme development