This forum is for assistance with theme development.

CSS Menu cannot remove bullets

Hello everyone!
I am new to Drupal and this is my first theme.

I copied "abac" theme and erased most of the stuff. I have gotten the layout I wanted.
You can view the site here:
http://www.drozdyuk.com/denysDrupal/

What I am trying to do now is to remove the bullets on the menu.
However my attempts to accomplish it like so, fail:

/* MENU */
ul.menu{
	margin: 0px;
	padding: 0px;
}
.content ul.menu li.leaf{
	list-style-position:inside;
	list-style-type: none;
}
.content ul.menu li.expanded{
  list-style-type: none;
  list-style-position:inside;
}
/* lets try without .content */
ul.menu li.collapsed{
	list-style-type: none;
	list-style-position:inside;
}

As you can see from the View source my xhtml is like this:

Block HTML structure

Hi.

I need to modify a block structure, not only the css part and i really don't get it :)

I mean, i need for example to have on the left sidebar 3 different blocks as html structure.

First block, wick is the 'primary links' menu i need it to contain a table with let's say 3 rows and one column. The second block it will be the login and i need it to be a table with 4 rows and 2 columns (just an example) and so long. Each block it will be different from the others.

The question is: Where do i define the structure to these blocks?

Need two views for the same blog: Teaser, and full posting

I'm using blog/1 as my homepage and I made a node-blog.tpl.php to style my blog postings, but the teasers (the first few sentences of the blog posting on the homepage of the site) are using the same template as the full on blog posting. How do I style the full blog posting page differently than the teaser?

Thanks

Menu and breadcrumb customising

Hi - I've had a fairly good search for this info, so apologies if I'm asking a common one here...

1. Don't hyperlink "active" menu items?

I'd like Drupal to not hyperlink menu items pointing to the current page. By default, Drupal adds class="active" to active menu items, so it can obviously distiguish. Can anyone tell me how I can use this to cause Drupal to skip the hyperlink on active menu items?

2. How can I best hack the breadcrumbs feature?

Garland Colors Fixed

Hello everybody,

I am using Fedora Core 6 and ISPConfig. httpd 2.2.3, php 5.1.6 and mysql 5.0.27.

This has been bugging me since in installed drupal, which is still annoying, btw. I thought I would share how I fixed this particular annoyance. It came down, once again, to the .htaccess. As the files needed to change the colors were giving a "500" error.

So, here is what I did to get this feature to work:

First, delete /files/color and /files/.htaccess. These files are owned by apache, so good luck with that using ftp.

What code should I use to create a 'Post new blog' link ?

Hello,
I'm surprised this code I want to use doesn't work.
I'd like to display a link in a block to publish a new blog post on the current blog if the current user is the owner of this blog.

This code doesn't print anything.

    if (($account == $user->uid) && user_access('edit own blog')) {
     print l(t('Post new blog entry.'), "node/add/blog");
    }

Here's the whole code of the block

Pages

Subscribe with RSS Subscribe to RSS - Theme development