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.

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

add footer to all post/publications

Hi all!!

I was creating a personalized theme for Drupal, based in other website example, I created all regions and declared all that I needed in the .info file. But the last step was an auto-included automatically code in all articles of the site. Like a footer with a specific code.

I check the options in drupal but I don't see one option to add automatically one thing before of any post/article in my personalized theme. I don't see clear where place this code .

I hope can explain my doubt clearly.

Resume:

Pages

Subscribe with RSS Subscribe to RSS - Theme development