This forum is for assistance with theme development.

CSS Help - tabs - all figured out but for one thing.....

Hi,

I've all but figured out how to do fancy tabs for my primary links except for one thing. I am using 2 tab images, left.gif and right.gif, which combined form the whole tab. This is working ok, but I'm trying to use two different images for the active tab and I've only been able to get the right_on.gif to show and have yet to figure out to get the left_on.gif portion of the tab to show.

Here is the CSS code which works, can anyone give me any idea of what to try to get the left side of my "active" tab to show up along with the right_on.gif portion of the tab?


#top-nav {
padding: 0;
margin: 0 0 1.5em 0;
font-family: Helvetica, Arial, Lucida, Verdana, sans-serif;
}

#top-nav ul {
margin: 0;
padding: 2px 0 10px 0;
}

#primary {
border-top: solid 1px #999;
border-bottom: solid 1px #999;
padding-bottom: 15px;
vertical-align: top;
text-align: right;
font-size: 1.2em;
}

#primary li {
float: right;
background: transparent url("images/left.gif") no-repeat left top;
margin: 0;
padding: 0 0 0 9px;
list-style-type: none;
}

#primary li a {
background: transparent url("images/right.gif") no-repeat right top;
display: block;
padding: 5px 15px 4px 6px;
text-decoration: none;
font-weight: bold;
border: none;
color: #000;
}

#primary a.hover { color: #03f; }

#primary a.active {

GREY_BOX theme GONE WRONG....

Hello ppl,

I installed drupal...and then the PHPTemplate and then grey_box...that was easy and its say acheivable....

now there is the issue...i am trying to configure the grey_box...and that should be okay...isnt it..?? but there is the problem, as i try to configure it thru the adminstration -> themes -> configure and i try to upload the logo that i want it gives me these errors...

warning: mkdir(files): Permission denied in /home/sites/NeuronBank/www/drupal_new/includes/file.inc on line 86.

and also this one...

ERROR with theme configration

these are the errors i get when i try and upload an logo in the admistartion -> themes -> configure screen...

* The directory . is not writable.
* File copy failed: no directory configured, or it could not be accessed.
* The directory files does not exist.

Pleas e help if you know what it means and how to get rid of them...

SCREENSHOT.PNG is there...but

screenshot.png is there in my theme files...but i cant seem to see the theme in my admistration screen under themes...

as the theme guide quotes

Finally, if there is a screenshot.png file in the theme directory, Druapl will show it in the theme admistration screen

please help me as i cant see to see it in the adminstration screen even thou i have the file in my themes directory...???

i need help...

thanx

How do I specify which template to use for pages?

Hello,

I am new to Drupal and have been progressing nicely.

PHPTEMPLATE offers the control over the pages I'd like, but I am stumped.

How do I specify which template to use where?

For instance, I'd like to use a different template for the front page than I would a story. Same with the blog section.

Thanks!

Pre-4.7 CVS: phptemplate changes?

I decided to experiment with the CVS version of Drupal and phptemplate in preparation with 4.7 and for some reason I can't get $sidebar_left and $sidebar_right to show up. $content, $breadcrumbs are just fine.

I don't see a ton of activity in the CVS logs for the phptemplate project or anything that would indicate that major changes are in the works for the way you would implement a page.tpl.php file.

Pages

Subscribe with RSS Subscribe to RSS - Theme development