Attached is a subtheme created using the corporateclean theme as a base theme.

To change the theme from mysubtheme to the name of your choice, alter all references to mysubtheme contained within all files to the name of your choice.

This was created for a user in the forums but I figured it would also be helpful in this queue.

CommentFileSizeAuthor
mysubtheme.zip3.86 KBvm

Comments

Peters’s picture

Hi VM

I tried combinations with the page.tpl.php file but it seems it only works when this file is being worked on in the corpclean theme, so not in the subtheme. Correct?

Now I have the latest page.tpl.php file in the corpclean folder and now the changes I made in the grid are coming through. (12 col. 2-7-3)
www.gaudimodels.com/drupal

But the white space above the slideshow came back, unfortunately.

The lines we added earlier I have them in the subtheme/css folder:

#node-68 h2 { display: none; }
#node-69 h2  { position: absolute; top: -9999px; left: -9999px; }
#node-70 h2  { position: absolute; top: -9999px; left: -9999px; }

Is there something to add? (all 3 worked in the original css)

vm’s picture

css changes go into the custom.css file included in the subtheme. That's why it's there. if you want to move the custom.css file to a subdirectory you will need to alter the path in the subtheme.info file.

the default page.tpl.php file should be copied to the subtheme. All references to corporateclean in the page.tpl.php of the subtheme would need to be changed to mysubtheme. There are (5) instances that need to be changed. Then changes made to the subtheme page.tpl.php should override the basetheme tpl.php file.

I've no idea why the theme settings are also set in page.tpl.php but they are. That said, any tpl.php file that you move into the subtheme should be checked after copying it for any corporateclean references.

Peters’s picture

Thanks for your help so far VM.

Drupal is great when you need a blog or some roles/views on your site, but when it comes to other applications or some extras, it is difficult. Even when you have proper php & css knowledge.

I might have to consider switching to another kind of CMS or finding a pro who can help me out.
Although I don't have thousands to spend :/

vm’s picture

"when it comes to other applications or some extras, it is difficult."

care to qualify the above with some specifics?

Peters’s picture

Much of it is stated here:

http://www.freelock.com/blog/john-locke/2011-10/top-6-reasons-drupal-rea...

And I´m not saying that Drupal is bad.

vm’s picture

Care to explain in your own words how the linked article qualifies the statement in question "when it comes to other applications or some extras, it is difficult." ?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.