This forum is for assistance with theme development.

Zen:after setting up what next?

Hello everyone I'm new to Zen... New to theming to.. So far I have been able to setup Zen to the point where I now have 'my own theme'..

I have built a complete website with Dreamweaver and I'm looking to convert it into a theme for sake of easy maintenance , as the client doesn't want to stress in the long run. It is an online magazine where different writers get to post their writeups/articles. Amongst its many other features it's also an aggregator.

.. Well I have the page.tpl.php and the node.tpl.php and their respective css files(nodes.css and pages.css).. I dont understand what I'm to do wt them in order recreate the design and structure that I have wt the finished work from DW... I understand that they are template files but how do I work wt them to build something out of it.. And as I go along I also want to be able to write my own template files (that would be interesting ;) )...

But first things first how do I manipulate these files and work wt them.. Its really urgent .. the client is starting to fret...

Please ppl of Drupal help!!!

Incase u might need a detailed description of the website Layout/Design structure. See below

I have : index(which is the homepage), About, Contacts, Resources,

main_menu variable is always empty in drupal sub-theme zen

I am new to drupal theming and trying to edit the menu for a sub theme with base theme as Zen. But when I tried to add class and div to the main menu, I saw its not changing. Later when I print_r($main_menu) in page.tpl.php in my subtheme, it is showing empty results ! But the same print_r($main_menu) shows the main menu array in Bartik theme's page.tpl.php ! How can I create the main_menu variable in my theme ?

Background around all zones but not whole body

I have used the .zone class to add a background image to my omega theme.(see arrow 1) However I would like for it to actually extend the complete height of the container only. (see arrow 2). I have racked my brain for several days every place i try to place a span or div doesnt work (html.tpl.php, zones.tpl.php) can anyone assist? I am not looking for the background to cover the entire body, just the zones area to the bottom of the browser.

sample help

Developing a simple D8 Twig theme

Hello,

I am very new to Drupal and not an advanced programmer, so I am working on creating an extremely simple Drupal 8 Twig theme, but I keep getting error messages in the admin area, and after creating a node with some content, none of the content is showing up. The one thing that is working is that Drupal is inserting code into the “head” area, but nothing else seems to be working other than that. Here’s what I have so far:

My theme consists of four very basic files: my-theme.info.yml, html.html.twig, screenshot.png, and css/layout.css. I’ve plopped them in a folder titled, “bluejay” and placed it in the “themes” directory of my test site.

For the file “bluejay.info.yml” I have the following code:

name: Bluejay
type: theme
description: This is my super simple admin theme.
package: Bluejay
version: 0.1
core: 8.x
stylesheets:
  all:
    - css/layout.css
regions:
    header: 'Header'
    content: 'Content'
    sidebar_first: 'Sidebar first'
    footer: 'Footer'
settings:
    shortcut_module_link: '0'
engine: twig
screenshot: screenshot.png

For the file “html.html.twig” I have:

{#
/**
* @file
* Default theme implementation to display an html page.
*/
#}



{{ head }}

I'm a LAMP Developer and pretty lost right now....

A have a client who uses Drupal. We designed a special couple of sub/landing pages that they want to run on their Drupal site for an event that they want to sell tickets for. We have done the HTML/CSS/Images.

The page layouts/design is different from the 'theme' they seem to be using on their site.

How do I create pages that use, as a theme, what I've just created?

I'm new to Drupal and thought I could easily choose a different theme/style or just hand-style a page when I created content, but apparently that's not an option with this CMS.

Custom class for <ul> Footer links?

I have four footer menu's each in their own block:

Footer menu 1 in Footer block 1

Footer menu 2 in Footer block 2

etc...

But how do i add a custom class to the <ul class="menu nav"> of those footer links

    ?

    Like so <ul class="mycustomclass menu nav">

    Thanks a lot!

Pages

Subscribe with RSS Subscribe to RSS - Theme development