For assistance with theme development.

STICKY: Theme development forum guidelines

The theme development forum was created to aid those who are developing themes for Drupal. This forum is not for issues you may be having with contrib themes. Issues with contrib themes should be placed in the issue queue of the theme in question. Please respect this.

If you you have drupal installed already and are seeking a theme, have a question about a specific theme and what it does or if it will fit your use case, please place your questions in the Post installation forum.

Fatal error: Unsupported operand types in /var/www/vhosts/xxxxxxx.xxx.com/xxxxx/sites/all/themes/md_official/templat

Hello,
I got this custom MD Official Drupal 7 theme. When I enable Them Developer, my site breaks down and gives the dreaded WSOD. Tracing the error leads to my template.php file. Anyone used this theme or do you have an idea on how to narrow down on the issue? I have read quite a number of similar problems but yet to figure it out. Thanks in advance.

The error is caused by this code on line 595. I tried to put some debug code above but no luck.

Formatting Issues

Hi everyone,

My name is Jon and I just started working for a nonprofit called Dialysis Patient Citizens. I am the person mainly responsible for our websites, for which we use Drupal. We currently link to many PDFs on our websites, and I am working on turning them all into pages on our websites. I am having some issues, mainly with text formatting, such as:

Change title and sub-title colour according to taxonomy term in content type

Hi, I have created a content type which has a list of taxonomy terms associated with it. When adding a node of this content type I have a field where its term ref is selected. I'd like the title and sub-title of a page of this content type have particular colour according to its taxonomy term. What is the best approach for this?

Thanks in advance

drupal_add_css not showing full path // preprocess_html

Hi all

I'm loading in some JS and CSS files as shown below, the problem I'm having is that the JS files show absolute paths, but the CSS files do not, resulting in no CSS files loading past the home page, they load, but with wrong url.

Example:

drupal_add_js(path_to_theme() . '/js/main.js', array(

src="http://localhost/dev/themes/theme1/js/main.js?nna3sd

drupal_add_css(path_to_theme() . '/css/owl.theme.css', array(

Bootstrap - page content jumps while shrinking the browser window

Hi.
I work with the bootstrap-module v. 7.x-3.1-beta2+55-dev. Although the viewport-tag is set the content jumps whil shrinking the browser window.

Which classes do I have to set to shrink the content more smooth.

page link

Pages

Subscribe with RSS Subscribe to RSS - Theme development