This forum is for assistance with theme development.

How do I change the colour of the * on a webform?

I am using the professional theme and the webforms module. (https://www.drupal.org/project/professional_theme)
I want to change the colour of the * that appears to indicate a mandatory field but I cannot find it.
Any pointers would be appreciated.

Thanks

How professional web designer's design theme?

I am learning HTML. CSS and PHP and want to become a freelancer web designer. Should I code the themes manually or use web design software?
I just want to know how other web designers are designing Drupal themes?

Adding element ID to the main menu

I'm after some suggestions on the optimal Drupal way to add an element ID to the main menu so the output is like this:

<nav id="main-menu" role="navigation"><ul id="menu-1" class="menu inline clearfix">{menu items}</ul>

The following code snippet from theme template.php works. But I've made the assumptions that the parent level will always be the longest (> 1500) which may not always be true. Also I'm concerned that using strlen might have some negative effect on performance.

Best way to deal with views layout

Hello friends,

I have been fascinated by some showcase sites, the power of drupal is above other CMS.
I am having a challange on how to best to layout views on the front page. Given that majority of the themes have content area layed in a way not to float on right or left.
I need to present some of the content views on front page floating in the content area (3 columns)

  1. What is the best way in doing the above is it tying to temper with theme code? OR
  2. Use Panels OR
  3. Display suite OR

Any other alternative ?

Outputting an image with an image style in custom node template (d7)

I have a custom node template that im rendering a variety of fields on, including an image. I want to display it twice with two distinct image styles. I changed the display settings so the initial rendering uses style A, but cant seem to figure out how to add a second instance of the same image using a different style.

focus on iphone doesn't work

I need to focus on the text area on a comment when pressing reply or add a new comment

I used this

Drupal.behaviors.commentFocus = {
attach: function (context, settings) {

$('.comment-form:visible:first').find('.form-textarea').focus();

}
};

It works on all desktop browsers but it doesn't respond on iphone safari.

You have any idea how to make it focus on iphone?

Pages

Subscribe with RSS Subscribe to RSS - Theme development