This forum is for assistance with theme development.

css doesn't work with comment.tpl.php

hi

i added this code to comment.tpl.php

      <p class="comment-name">
        <?php print render($content['field_commentnickname']); ?>
      </p>

and i added this code to css file

.comment .submitted .comment-name {
  font-size: 4.2em;
  color: #68696b;
}

but the css doesn't work , plz need help.

Form checkbox items in columns

I have a form with checkboxes. Those are rendered in a form template with print render($form['features']); so that there is a checkbox with an item per line:

cb1 item name 1
cb2 very long item name 2
cb3 item name 3

How can I change the outpost to a table like:

cb1|item name 1|cb3|item name 3
cb2|very long 
    item name 2||

Thanks a lot!

How do I stop block menu from showing all levels of the menu?

I am using adaptive theme and I built a three layer main menu using the primary menu option in my theme plus menu block. It was great. But then I realized I needed to redo my menu so that it was one continuous Ul LI type structure because I'm trying to integrate packery into my site.
Here is a demo of my menu as "menu blocks" here: http://dmta.right-brain.com/our-work

I found this Packery code by looking at other sites that use packery:

transfer a variable

Hello
I want to print a variable found in block "node--*************--block.tpl.php" in a field "field--field-**********-page.tpl.php"
I use Panalizer

Thank's for your help

Views Taxonomy Term Children Groups on Parent Term Page

I am using Views default view "Taxonomy Term" (taxonomy/term/%) to display a taxonomy term page that has content teasers for ubercart products. This almost accomplishes what I want, but not completely. Here is my setup:

Taxonomy Vocabulary: Products

Taxonomy Terms Hierarchy:

Product Type 1
-Type 1 Sub Category 1
-Type 1 Sub Category 2
-Type 1 Sub Category 3

Product Type 2
-Type 2 Sub Category 1
-Type 2 Sub Category 2
-Type 2 Sub Category 3

etc...

Basically: how to theme for mobile devices?

Hi! I am a "hobby-website builder" (a non-professional) and I havent been very "active" for the last 3 years. Until now, all my sites have been based upon the "zen"-theme (I love it!) and I didnt care about compatibility to mobile devices that much. Nowadays, I think that this "mobile compatibility" became very important and I'm not sure, if I should switch to the "bootstrap"-theme.
I started building a website which should be suitable for all those mobile devices available. I would like to use the "zen"-theme - what do you think? Would it be better to use "boostrap"?

Pages

Subscribe with RSS Subscribe to RSS - Theme development