Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

Basing on existing content type (page) I have created another content type (page-without-video). The only one difference between these two types, is that I am looking to skip a video section in the second one. The rest should look the same. After creating the "page without video" content type, I went ahead and adjusted custom css for the newly created content type (basically just changing the node name from "page" to "page-without-video"). From some reason the new content type did not inherit all the css coding of the "page" and has those default weird lines around images etc. Is it a css problem or maybe I should look elsewhere to fix it?

I will appreciate any help with this.

share|improve this question

1 Answer

Use Code per Node module, that is the easiest way to add custom CSS or JavaScript on node page, content type or block...

Look at THIS for other ways to add custom css...

share|improve this answer
 
I appreciate your answer. I will try the module you have suggested. I thought that one more way could be to create a separate template for this page in case this is not a css problem? –  user19618 Jul 29 at 14:35
 
I edit my answer... –  mixerowsky Jul 29 at 14:43
 
regarding Code per Node, I have a drupal 6.22 version and Code per Node is 6x-1.2 version. Can I still install it? ( I am a newby...:) –  user19618 Jul 29 at 14:57
 
Sure, you can...in '6.x-1.2' 6.x says that is for Drupal 6 any version and 1.2 is module version... –  mixerowsky Jul 29 at 14:59
 
I see, thank you very much) –  user19618 Jul 29 at 15:01
show 1 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.