This forum is for assistance with theme development.

Nice Menus - Not collapsing child main_menu items in from scratch theme

I am using D7 and creating a custom theme from ground up. I am using the function call in my page.tpl.php to print out the main menu for my horizontal navigation menu. This is working and my custom .css in my template.css is working great, only issue is that the child menu items are being rendered along with the parents. I have double checked every list item in that menu and not one of them has the 'expanded' option checked. So it is currently rendering out both parent and child menu items, instead of keeping the children collapsed until its corresponding parent is clicked on.

Color in Garland subtheme

I'm having trouble getting my Garland subtheme to work with the Color module, so I can select my own color set for it. I've tried to follow the directions here and here. They seem to disagree on how to do this, but I haven't been able to get either to work.

For instance (following the directions in the first link), I created a directory sites/all/themes/my_garland and put these files in it:

my_garland.info:

name = My Garland
description = My subtheme of Garland
core = 7.x
base theme = garland
stylesheets[all][] = style.css
stylesheets[all][] = my_garland.css

my_garland.css (zero length)

A directory "color" copied from themes/garland/color.

template.php:

<?php
function my_garland_process_page(&$vars) {
    // Hook into color.module
    if (module_exists('color')) {
        _color_page_alter($vars);
    }
}
?>

Best way to add staff user pages with recent content block of articles by that staff member. [SOLVED]]

Hello all,

What I'm trying to do is create staff pages that has their name, job title, picture, and bio. I also wanted to have something similar to the "recent content" block at the bottom of each of page that only shows content created by that staff member. That way they can simply create an article from the home page and it will show up on their staff page. Their pages would be viewable to the public as well.

Bootstrap dropdown menu-items on homepage?

Hi i am using Bootstrap. I have a main-menu item 'Products' which have submenu items. But when i look at my site the submenu items (or dropdown arrow) don't appear on the frontpage and on the other pages. It only appear on the 'product'-page itself.

How do i change this??

Thanks a lot!

Prevent inheritance link color secondary menu

I'm creating a lay-out for my website with Zen. I want links in the body to be red and bold, so I costumized the normalize.css file:

a:link,a:visited {
  color:#990000;
  font-weight:bold;
  text-decoration:none;
}

a:hover,
a:focus {
  color:#990000;
  font-weight:bold;
  text-decoration:underline;
}

I noticed that the links in the secondary menu were affected by this too. This isn't exactly what I want, so I tried to color them white again by changing the navigation.css file:

Html Mailto not working due to "random" divs getting created.

Greetings all,

I have been trying for the past few days to get a custom node.tpl.php to render information from a "create_staff" content type. It has a field for title, position, email, photo, and bio. I have a new node--create_staff.tpl.php that is "working" I have everything rendering in the correct spots, the problem is happening when I try to make the email field display as a "mailto" html tag.

Here is what I have in my node--create_staff.tpl.php file:

Pages

Subscribe with RSS Subscribe to RSS - Theme development