Zen is a well-known Drupal base theme used as a starting point for many custom themes.
1
vote
0answers
13 views
Adaptative images with zengrids
i'm testing zen 5.x and zengrids in subtheme, and images size doesn't adapt on mobile for example.
So what i need to do ?
thanks
2
votes
2answers
66 views
When using Zen and Zen grids, where do I put SASS variables?
I am trying to use Zen Grids with the Zen ver. 5 starter theme.
The Zen starter theme comes with a lot of .scss files (in the sass/ subdirectory). I am trying to use Zen Grids to set up a simple ...
0
votes
2answers
54 views
custom header image
The design for my site includes a large image slider on the homepage and a static image of equal dimensions and position on the inside pages.
To accomplish this I created a custom content type for ...
0
votes
2answers
45 views
How can I alter the 'submitted by username' for a comment?
I am rendering comments on my site. I am using the Zen theme. If I remark out <?php print $submitted; ?> in comment.tpl.php the 'username replied on' part is no longer rendered. But I don't want ...
2
votes
2answers
56 views
Assigning Template for Parts of Pages
I'm new to drupal and coding so I'll try and explain best I can the issue I'm having.
I'm on Drupal 7, using Zen Sub Theme
I have a site which is essentially a database of gadgets. 'gadget' is a ...
0
votes
0answers
17 views
Add Some HTML to the Right of #content on Zen 7.5
Hello ive been struggling with this all morning and i tend to only post here when im really exasperated and used up my css limited knowedgle after pushing the boundaries that bit further.
I have A ...
0
votes
0answers
33 views
Add Panels layout directory to sass /compass [closed]
I have a zen theme sub theme. In it I have created a layouts folder, with a panels layout. I want this folder to be included into sass config, so I can run compass watch on it. Is this possible?
0
votes
0answers
29 views
Add farleft sidebar(css) to zen theme without messing established layout [closed]
I am NOT a CSS expert. I basically know how to manipulate css and write basic css to suite my needs. Right now, I have a test-site, in which I've used the Zen theme with responsive-sidebars.css. The ...
1
vote
1answer
39 views
How can I stop js script from running on mobile?
I need some help with a Zen subtheme using responsive-sidebars.css
I have some javascript that I only want to run if the screen is bigger than 480px.
The javascript is:
(function ($) {
...
0
votes
0answers
47 views
Unlimited horizontal width in ZEN theme
I am struggling in achieving quite simple effect: how to force images float horizontally ignoring the width of the ZEN carcass?
What I'm trying to do:
In a content type I have image field set to ...
1
vote
2answers
191 views
How to add custom css files in a theme from drupal.org? [closed]
I am using the Zen theme on my site, but would like to add custom CSS files that the theme should use. How can I achieve this?
0
votes
2answers
269 views
Zen theme not showing second level menu items
I am creating a zen sub-theme and I edited the menu called "Main menu" to have on root level item that has 5 children (second level). The root level item shows up fine but none of the children are ...
1
vote
0answers
48 views
Firefox only - Width set to 980px but displaying smaller [closed]
I am using a zen subtheme and a fixed-width.css layout.
The #page width is set to 980px yet in Firefox the width of the site is only 878px. I am using Firebug to see what is going on but cannot ...
0
votes
1answer
222 views
Where to set the DOCTYPE?
My zen subtheme doctype is currently !DOCTYPE html and I would like to change this. What is the correct place to add the doctype I want to use?
I copied the html.tpl.php file and pasted it into the ...
0
votes
1answer
219 views
Drupal 7::html5-respond.js not rendering CSS3 properties in IE7,IE8
I am working on a drupal 7 website. I am using the zen theme as starter theme. But the html5-respond.js not functioning properly.
I have added border radius property for the boxes, but its not ...
-1
votes
2answers
151 views
Why doesn't Menu Breadcrumbs work for every site?
I've got a couple of websites, the Menu Breadcrumbs module works perfectly in one, but not in the other. By doesn't work, I mean that only the Home level and the active/current level are displayed, ...
0
votes
1answer
195 views
How to change the inline width of UL in superfish?
I am using a zen sub theme and the fixed-width.css layout.
Setting the width of 980px on #navigation is causing horizontal scrolling in IE8.
The width of #page, .region-bottom is set to 980px, also ...
0
votes
0answers
98 views
Zen subtheme, superfish menu etc - invalid CSS
I created a sub theme and based it on Zen.
I just validated the CSS locally and there are 66 errors. Any tips on how to use existing modules and themes but reduce the number of css errors?
2653 ...
0
votes
0answers
325 views
OMEGA,BOOTSTRAP or ZEN? [closed]
help me with this stuffs.
i'd been picking one who is the best in terms of UI,JS,SASS, as a base theme to my project.
can sombody tell me what is BETTER>?
willing to wait for your response. . .
0
votes
1answer
68 views
Deleted all the content… but it's all still there?
I wanted to start from scratch so deleted all the content from my Drupal site. Now I am getting the following error:
Notice: Undefined index: name in system_sort_modules_by_info_name() (line 949 of ...
0
votes
1answer
102 views
Menu block module overrides
I'm really confused with how to theme menus in Drupal 7 and I've found the Menu block module which is supposed to makes things simpler. Turns out it's not that simple for me.
I've created a Menu ...
0
votes
1answer
109 views
Unable to override Superfish styles in Zen theme
I am using a zen subtheme and a superfish menu. I am trying to override the background colours of the menu but am not having luck in IE8. I've tried clearing the cache but still no luck.
Do you have ...
0
votes
2answers
106 views
Change body width in Zen 5.x with Sass support
This seems so easy I'm stumped not being able to do it. I tried changing the width in a scss file called _layout-fixed.scss from $zen-grid-width: 980px; to, say, $zen-grid-width:680px; but it didn't ...
1
vote
0answers
30 views
Why aren't all changes made to Saas files working with Zen 5.x?
I'm starting with theming and chose Zen 5.x for multiple reasons. Problem is, all this being new, I feel a little overwhelmed. I know how to "watch" the sub-theme directory with compass from the ...
0
votes
3answers
250 views
Zen theme not compatible with IE8?
I am using a zen theme, the default styles and template and while the Main content displays correctly in Firefox, it is all the way to the left in IE.
In firefox, Navigation menu on top, sidebar on ...
0
votes
1answer
59 views
How to add 4 side by side containers
I would like to add 4 columns/containers just above the footer of the homepage. Similar to the triptych blocks that the Bartik theme offers, except I would like to have 4 of them. I am using a Zen sub ...
0
votes
1answer
72 views
Zen subtheme style changes not being picked up [closed]
Update: fixed the issue by recreating the theme (copy/pasting and renaming). Messy but it worked.
I created a zen subtheme and have moved it to the sites/all/themes/mytheme folder. I've selected this ...
0
votes
1answer
154 views
Block Settings not applying to Zen sub theme
I've created a Zen sub theme using the Starter Kit enabled it, and set it as the default (I've changed very little from the Starter Kit). If I go to Structure > Blocks there is only a tab for the Zen ...
0
votes
1answer
72 views
Zen sub-themes, sass vs inheritance
I may be running into two conflicting methodologies here.
Basic Drupal theme philosophy is to sub-theme and only change what is different from the sub-theme.
I am using taxonomy hierarchy and ...
1
vote
1answer
90 views
Changing the url which the logo links to
I'm using Zen Theme 5.x and want that the site logo links non to the front page but another page in my base url, like to a contact page. It seems that I can achieve this modifying the page template ...
0
votes
0answers
57 views
Centering resizable images in recursive divs with CSS
I'm working on theming an image gallery content type I created through which a user uploads several images and as a result see a list of images on the page.
I use Responsive Images and Styles module ...
6
votes
1answer
681 views
How to make a responsive theme in Zen 5? Modules and procedures to keep or to leave from older Zen versions [closed]
I'm using Zen theme back from 2007, when Drupal 5 comes out (anyone remembers those subtheme directories put into the main zen directory?). Thanks to this theme reliability and awesome community, the ...
2
votes
1answer
309 views
Use Zen grids with Views
We are using Zen 7.x-5.x with responsive settings and I want to create a grid for some items. That is responsive and adaptive so first the grid is 3 items and then when the viewport gets narrower ...
0
votes
1answer
70 views
How can I add a search feature to my Drupal 7 Zen child theme frontpage?
I would like to add a search form to the front page. I've added this to my template.php:
function my_theme_preprocess_page(&$variables){
$search_box = ...
0
votes
1answer
130 views
jQuery not working in zen theme
Ive put this code before the closing head tag in my html.tpl.php but nothing is happening. Im using the zen theme. Ive tried clearing my cache.
Im I somehow missing a syntax error or is this a Zen/ ...
0
votes
1answer
780 views
Adding Zurb-Foundation (or bootstrap) elements & components to a Drupal sub theme. E.g. Zen5
I want to add Zurb-Foundation elements/components to my Zen Subtheme. I think those who have done this using Bootstrap may know the basic procedure as well?
My example use-case is to style the ...
1
vote
4answers
602 views
Theming Panels with Zen Grids
I want to theme Panels using Zen Grids for layout.
Question:
Since all content in Panels appears in the 'content' div, what is the most flexible way to use Panels to place content anywhere on the ...
0
votes
0answers
49 views
Adding Schema.org: handling node titles?
I want to add schema.org tags to a particular content type. I already have a custom theme template for this content type. It should be an easy task except for the fact that the title of the content ...
0
votes
1answer
120 views
General Approach in Zen-Theming: 3 different fixed-width layouts based on viewport-size
I am building a zen-subtheme which should have 3 breakpoints depending on viewport-size, but none of the layouts has sidebars, there is a small horizontal navigation for all layouts.
By default, Zen ...
3
votes
3answers
384 views
Drupal 7/Zen - How do you move the header (field_image) image above the title on a page?
How do you move the header (field_image) image above the title on a page?
Drupal 7/Zen Theme
This seems like it would be a simple thing to do. I've been messing around with trying to accomplish this ...
1
vote
1answer
341 views
How to make a specific region use a specific template?
I'm currently working on Drupal 7 project in a Zen sub-theme. Each of my region uses "region.tpl.php" as HTML/PHP template. I just created a new region called "foo". This region needs a different ...
1
vote
1answer
172 views
How to create a Sub-theme based on a Zen Sub-theme
I would like to modify the CTI Flex theme but would prefer to keep my changes as maintainable as possible. CTI Flex is already a Zen (7-x.3-x) sub-theme.
I have used the Zen starterkit in the past to ...
0
votes
0answers
52 views
Get Render Array inside Region template?
From the Page template, the template receives a render array, and can manipulate it to change the display of the page. The same is true in Node templates, but not in Region templates. Region ...
1
vote
1answer
236 views
Zen subtheme region templates not being used?
In a subtheme of Zen, I've got a templates folder that has region.tpl.php and region--footer.tpl.php that are copied from the main Zen theme. However, the custom region file is not being used for the ...
2
votes
2answers
166 views
How to avoid no-wrapper tags on regions?
How do I make sure ALL regions are wrapped according region.tpl.php?
In a subtheme of Zen I have created my own regions and modified the page.tpl.php file to something like the following:
<div ...
0
votes
0answers
149 views
scripts.js not doing anything in Zen subtheme
In a Drupal 7 site I have a Zen subtheme. The info file specifies scripts/script.js. I tested out some simple jQuery in the scratchpad and it works. But if I paste it into script.js, clear the caches, ...
1
vote
1answer
448 views
How do I remove the blank space that remains after removing “logo” and “site name” and “site slogan”?
I have removed the "logo", "site name", and "site slogan" from the Theme Settings menu:
Home > Administration > Appearance > Settings > MyTheme
Unchecked: [Logo], [Site Name], and [Site Slogan] ...
1
vote
1answer
97 views
Is making field.tpl.php print the URL of the node the displayed field is attached to possible?
Currently I have this setup with Views but I would like to take views out of the picture to optimize the site and fix a couple of problems that occure as a result of using Views.
What I am trying to ...
2
votes
0answers
327 views
3-column fixed width Zen-based layout + SASS; giving exact width to columns
I'm using Zen theme with SASS (+Compass), and I have a site with fixed width layout. This means I include fixed-width.scss in my custom Zen subtheme's .info file.
I would like 3 columns - 2 for the ...
0
votes
0answers
109 views
5 Column Zen with Panels
The Zen theme says it provides a 5 column flexible layout. Is there any way to use Zen's built-in layout functionality while using Panels?
I'd prefer not to create a bunch of php templates, because ...

