This forum is for assistance with theme development.

How to enable the custom css class

I have created a custom css file(i.e general.css) in the css file path /var/www/openpublish/sites/all/themes/omega_telecharger/css

I have navigated to Css class by clicking Edit view ->Advanced Tab ->Css class and in that mentioned my custom class name general and saved.

But my custom css class settings are not been overridden.Please suggest me with some solution if am doing wrong.

Thanks in advance.

Search module-Theme made by Artisteer

Hello!
I made theme for Drupal in Artisteeer but i don't know what I must make to use Search module on my theme. How to make place for module in Artisteer?
Thanks and sorry for my bad English

Gap on right side of site when viewed on mobile device

Hello.

I have a responsive site with an issue: there is a 10px/20px gap on the right hand side of the site, but only appears when on a mobile device (iphone, ipad, android etc), but there is no issue when viewed on a desktop browser or in Chromes web developer extensions' Responsive layouts. A horizontal sidebar is added as a result and it seems like an overflow of content. Is this a CSS issue?

Im using Zen theme and have created a sub theme.

Any advice would be most appreciated.

Rendering field label in form

Hello!

I was wondering if I could get a bit of help with this.

I'm trying to modify the node edit form template for a content type.
I got it generally working.. but the problem is: I need to be able to render a field's label separately to the field itself.

I am rendering an entire field fine by using the following in my php.tpl file:

<?php print render($form['field_first_name']); ?>

Override entries in $DRUPALROOT/includes/*.inc files

Hi all,

I'm working on a zen sub theme, currently the maintenance page. I came along with the idea to translate and add/or replace the text "Site under maintenance" to for example "Site tijdelijk offline wegens onderhoudswerken". The common or main language of my site is Dutch, aside English will come along later...

I was wondering if I can (or have to) override entries from in files such as $DRUPALROOT/includes/common.inc:

      case MENU_SITE_OFFLINE:
        // Print a 503 page.
        drupal_maintenance_theme();
        drupal_add_http_header('Status', '503 Service unavailable');
        drupal_set_title(t('Site under maintenance'));
        print theme('maintenance_page', array('content' => filter_xss_admin(variable_get('maintenance_mode_message',
          t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => variable_get('site_name', 'Drupal')))))));
        break;

$DRUPALROOT/sites/FQDN/themes/my_zen_sub_theme/css/maintenance-page.css:

.maintenance-page #header div.section,
.maintenance-page #main {
  width: 900px;
  color: #fffc17;
}

I like to avoid being worried about include files when upgrading drupal sub releases (7.x.x), which would obviously erase all my customizations (outside $DRUPALROOT/sites/)...

Custom Theme with FlexSlider Pause/Play button

We have a custom theme done by a consulting company.We want to now add the Flex Slider Pause/Play button .The new version provides that.I updated the libraries and added the javascript code in the theme but cannot see the play/pause button.

If I create a simeple html with the jquery library it works but once I do the same thing inside the drupal theme it doesn't.Any suggestions ?Anyone used the flex slider as part of the theme?

Pages

Subscribe with RSS Subscribe to RSS - Theme development