This forum is for assistance with theme development.

Expanded child link alignment problem

Hi All,
Basically, I have a navigational menu with links that can be expanded to show child (or sub) links. Aesthetically, I was wondering if it was possible to have it so that when the link was expanded, the expanded item didn't float out to the right (forming a sort of "tree"). I've attempted to play around with the css, but at most I've been able to move the parent link, which also moved the expanded link to attempt to line it up at the side of the page. What this then did was line the expanded up at the side of the page, but cause the parent to be floating way to far to left, ending up on the outside of the page.

For a reference, I have posted an image of the problem that is occuring when the expanded is simply floating to the right.

http://www.freewebs.com/jrgirard/expandedchildtree.png
(the red lines are to illistrate how it is supposed to be vertically aligned)

I've checked the code for conflicts, but couldn't seem to find any. I also checked the system.css file with no luck either. Below, is also the css code for the nav menu.


ul.menu {

}

ul.menu li.expanded, ul.menu li.collapsed, ul.menu li.leaf {

width: 133px;
height: 54px;

}
ul.menu li a {
display: inline;

}

ul.menu li.expanded {
background-image: url(navtab.png);
background-repeat: no-repeat;
list-style: none;
display: block;
margin-left:-16px;

Would it be hard to convert this site to Drupal?

The client would like to edit News, Member's info, Events, Add a media library and more.

I basically want to know if I would be able to keep the same look and be able to use Drupal to administer

Current Site
http://www.pbats.com/

Redesign Comp
http://www.pbats.com/pbatsreview.htm

Thanks All

Modules not showing up

I'm currently working on a theme for drupal, and neither the search field or breadcrumb navigation is showing up.

I've been using zen as a guiding light, but these still are not showing up.

Is this common? does anyone have any clue how to get them to show up?

front page is blank

Hello, I am having some difficulty with making my first theme. I made a page-front.tpl.php and a template.php, and set default frontpage to node. But all I get is a blank page staring back at me. Could you please review the code and tell me what is wrong?

Here is the code for my page-front.tpl.php



print $language
" xml:lang=" print $language ">


print $head_title
print $head
print $styles
print $scripts

/* Needed to avoid Flash of Unstyle Content in IE */

'size' attribute of textfield

Hey all,

I have following lines which are used to create the Text box.
I want to minimize the size of the textbox, am trying the '#size' property of text field but then to its not working for me.

Please help.

Overriding theme_calendar_calendar_node

I'm a Drupal beginner, and have been reading the book Pro Drupal Development. It's helping but I've run into some confusion in how to override theme_calendar_calendar_node. This is part of the calendar module, which relies on the views module, so I suspect complications are atop complexity.

Pages

Subscribe with RSS Subscribe to RSS - Theme development