Theme development

This is a special interest group dedicated to improving and expanding the Drupal theme system including theme functions and templates, CSS, markup, and how contrib modules add in their functions, CSS, and markup.

for example, we'll take stock of the location and number of CSS files and discuss if the architecture can be improved through emerging frameworks like Object Oriented CSS.

We will consider the questions "What do themers need from Core in terms of CSS? Module developers? SEO specialists?" and "What's new in CSS? What does Drupal support? What's the roadmap for CSS support?"

alarez's picture

Visual Content Layout - A very friendly way for creating content layouts in Drupal

Visual Content Layout is a Drupal 8 Module developed to manage text filters HTML content layout and visual elements like iconography, accordions, tabs, non table columns, images, videos, list, CTA’s, etc.

The HTML output of module is based on Bootstrap components and grid system.




  • Open pre-configured sandbox on
  • Click Launch sandbox and wait.
  • Click Log in (email and password should be pre-filled).
  • Read more
    tonystar's picture

    Bricks — revolutionary new way of creating rich content in Drupal [just released]

    Bricks — is a revolutionary new way of creating rich content in Drupal. Thanks to the powerful contributions like ECK and Entity Reference, Bricks itself is just 100 lines of code.

    In terms of concept Bricks is a new generation of Paragraphs, drop-in replacement for Panelizer and a good friend to Display Suite and WYSIWYG.

    Live demo

    1. Open pre-configured sandbox on
    2. Click Launch sandbox and wait.
    3. Click Log in (email and password should be pre-filled).
    4. Go to Appearance and click Set default near the Bootstap theme.
    5. Go to Structure > Content types > Page > Manage fields and:
      • Edit and Save field_body (this enforces Field API to alter database schema).
      • Optionally Delete useless body field.
    6. Finally click Add content on the toolbar and create your first bricky page!

    Read more
    InternetDevels's picture

    Examples of theme_table() and theme_fieldset() functions in Drupal 7

    In Drupal 7 API there is a chapter dedicated to site theming. From a Drupal developer's point of view, almost everything is done with the help of functions and there are many of them that facilitate theming in Drupal 7, too.
    The most important one is the theme() function.
    In the blog post by our developer, 2 of them are analyzed:
    1) theme_table() – function for table formatting.
    2) theme_fieldset() – function for drop-down list.

    firoz2456's picture

    How to fetch Views total number of records in page.tpl.php before views.tpl called.

    See this image for more understanding.

    I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also using contextual filter for this view. Views have page type display.

    I have also used module but this will print total number of records on Views header or footer. (Not outside of views)

    datarazor's picture

    Help: where to find new sub-contract/freelance customers?

    Hello Drupal community, I'm looking for more freelance / contract work at the moment. And I was wondering where good places were to find it?

    I run my own small agency in Santa Barbara CA and I can offer the following services: Drupal module coding, theming, front-end interactivity, custom design, project management, information architecture and more.

    So far I know about Drupal Groups, meet ups, and craigslist. Any other good resources for finding new clients?



    Susan MacPhee's picture

    Design for Drupal, Boston 2015

    2015-07-31 (All day) - 2015-08-02 (All day) America/New_York
    Event type: 
    Drupalcamp or Regional Summit (launching mid May 2015)

    Design for Drupal, Boston is an annual web design camp covering all aspects of design, UX, & theming for Drupal websites.

    New location this year! Microsoft NERD Center at One Memorial Drive, Cambridge MA. Still in Kendall Square.

    Read more
    peezy's picture

    NHDevDays 2

    2015-06-05 (All day) - 2015-06-07 (All day) America/New_York
    Event type: 

    We are proud to announce NHDevDays 2, the second in our series of contribution sprints to be held throughout New Hampshire in 2015.


    In lieu of a DrupalCamp, the NH Drupal group organizers have decided to run a series of code sprints throughout 2015. Each code sprint will be dedicated to both helping newcomers learn the steps involved in contributing to one of today’s largest open source projects, and a venue for existing contributors to help others and collaborate in person.

    NHDevDays 2 - Portsmouth

    Read more
    dezofie's picture

    Drupal8 Theme Framework Standalone

    Hi Guys,

    Does any of you interested on having theme framework which can be used in any PHP development using Drupal Form API + Theme API? So imagine you have Silex framework with the power of Drupal theme. The first thinking you will have will be why and how? Let me explain in detail.

    Read more
    jwilson3's picture

    guidlines for SVG in Drupal 8 core

    Welcome to 2015. The discussion about SVG in core has begun!

    We need input and reviews from devs, themers, and designers about SVG best practices:

    mortendk's picture

    Drupal8 classy themes template file organization

    Just a heads up We are now talking about how to organize the templates inside of classy, we need input - yes the banana is moving forward :)


    cuculain's picture

    beginner responsive theme development question

    I have a little experience working with conventional themes and css, but I am new to working with responsive themes. I have installed the Radix theme on a panopoly site and read what I have been able to find about customizing the theme. However, I have not gotten too far. So far I have not found a lot of info for beginners.

    I am not sure the best way to proceed with some simple changes. For example I want to add a logo over the navbar. Do I alter the page.tpl.php file to do this? Are most changes made via bootstrap?

    Read more
    Artusamak's picture

    Session to the Drupal Developer Days 2015

    Hi everyone, you may or may not have noticed but the sessions proposal has been opened for the Drupal Dev Days 2015.

    The frontend importance is growing from a core release to an other and it's great! But the complexity is also growing, there are more and more topics and good practises to be aware of in order to be a good frontend developer.
    If you are a developer and care to be able to have a discussion with your themer you also need to know that.

    Read more
    LewisNyman's picture

    Changes to Drupal 8 that affect admin theme maintainers

    Happy Friday! I maintain the admin theme in Drupal 8 core: Seven. There have been many changes to Seven in Drupal 8 that affect the relationship between admin themes and modules, and how the admin UI is generated.

    I've always thought that the strategy we've put in place are going to have a positive impact on maintainers of contrib admin themes, but I've never sought out feedback directly. I am now!

    Object oriented CSS

    Read more
    datarazor's picture

    Technical solution: Alternative homepage for mobile

    Hi folks,

    On a new site I am building we are using the same theme for mobile and desktop, but for the homepage I want to disable, server-side, some aspects of the homepage when a mobile client appears on our site. The desktop version of the homepage is a very fancy parallax and the mobile version will be function-over-form.

    I'm considering using:

    And using PHP to enable/disable various aspects of the homepage when it triggers.

    Read more

    How can we improve frontend sprints at Drupal events?

    At DrupalCamp Ghent, we held a very small frontend BOF, with myself, Laurii, Emma.maria, and guest frontender Xano.

    It quickly became a retrospective on the Friday sprints that took place at DrupalCon Amsterdam. The collective thoughts were not positive. It felt like we fell way short of our goals and potential for the Friday sprint. Drupalcon Friday sprints are about introducing people to sprinting and it feels like we failed badly at that.

    Here were some of the problems:

    • Newbies did not get enough help
    • The few people helping the newbies did not get enough support
    Read more
    balajidharma's picture

    Drupal is a better choice for classified ads sites?

    100% (1 vote)
    0% (0 votes)
    Total votes: 1
    Michael-Inet's picture

    Responsive sub-Theme Project | IDA

    Employment type: 

    I have a project, Waggy Tails Pet Center, that needs a theme with 90% of the look and feel of The Good Dog and 10% of Woodside Hotels.

    WTPC: Waggy Tails Pet Center,
    TGD: The Good Dog,
    WSH: Woodside Hotels,

    To explicitly clarify this is for a sub-Theme and not a Site Build.

    I'm a back-end Drupal developer, so it's possible I've mislabeled a front-end term ... Also, I fully expect your input will change these requirements.

    Requirements Summary

    Read more
    FCUpgrade's picture

    Front End Drupal Developer - Immediately Needed | BR

    Employment type: 
    Full time
    Employment type: 
    Part time
    Employment type: 

    Immediately need for PSD to Pixel-Perfect Themer

    18-year old, market leader is in the middle of moving to Drupal.

    We're looking for A Players interested in joining a mission to upend the world's largest and most interesting B2C industries.

    High-fidelity, interactive Axure prototype and PSDs are 100% ready to go.

    Confidential details will be provided to qualified responses.

    Look forward to hearing from A Players with immediate or near-term availability with interesting portfolio and references.

    fcupgrade [at]

    Read more
    Michael-Inet's picture

    What do Freelance Themers want to see in a Help Wanted post?

    Hi Themers,

    I recently posted a Theming Job [1] which produced a lot of spam [2], but zero replies showing the person had read the post and/or could follow application instructions. I thought the application instructions were insanely easy (one link, estimate, ask questions), but I guess no one read down that far?

    In any event, as I still need the work done, and I apparently need to re-write the job rec., so:

    What do Freelance Themers want to see in a Help Wanted post?

    Read more
    Gabrieles's picture

    Internal Collaboration Tools Officer | Oxfam

    Employment type: 
    Full time
    Employment type: 

    Love coding but hate injustice? Join us!

    One person in three in the world lives in poverty. Oxfam is determined to change that world by mobilizing the power of people against poverty.

    Read more
    Subscribe with RSS Syndicate content

    Theme development

    Group organizers

    Group notifications

    This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

    Hot content this week