I am facing a problem. I have a module called QuickTabs, new to Drupal and confused.

I like to change the position of the title of the quicktabs, instead of top and I would like my buttons or links to be on the bottom. I worked the css but it seems that the render is on the inc.

    tile1 title2
    content content

Change to:

     content content
     title1  title2

Any hints of how I can do this? I am using Drupal 7

2 Answers 2


I would recommend you to start by downloading the excellent devel_themer module from Drupal.org and install it on your site. It will also require that you install the devel module.

Once you install it and enable it, devel_themer will tell you what template (*.tpl.php) is being used. You can then go to that template and alter the order of the HTML elements directly. You will also find devel_themer to be a great tool for learning Drupal theming.


Add this in your template.php file from your (custom) theme:

function trasys_qt_quicktabs(&$variables) {
  $element = $variables['element'];
  $output = '<div '. drupal_attributes($element['#options']['attributes']) .'>';

    $output .= drupal_render($element['container']);

    $output .= drupal_render($element['tabs']);

  $output .= '</div>';
  return $output;
  • trasys is the your theme name
    – Sadi
    Jul 2, 2013 at 10:20
  • indeed, I'm sorry :) Jul 2, 2013 at 14:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.