Categories and addi...
 
Notifications
Clear all

Categories and adding a background to certain pages: SOLVED

5 Posts
2 Users
0 Reactions
1,762 Views
(@clabby)
Posts: 71
Trusted Member
Topic starter
 

Bet you thought I was done with you lot!

Can I reduce the description of the categories on the main page?

I'd rather it not show so much, just the name of the category, no count and no description.

AND!!!!

Can I add a border and a background to the admin menu, browse category menu and browse author menu?

I tried making the mainpage block semi-transparent but it still doesn't look good.


 
Posted : 02/04/2009 6:29 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

For the first thing: go to Admin > Blocks, and then Options for Categories.  You'll see this in a box:


{image} {link} [{count}] <div>{description}</div>

Delete the last part, the {description} in divs.  Note: this will do that for all your skins.

You can add a border to the other things, most of them, anyway, I think.  You'll have to modify your CSS and put a div around the proper {output} variables.  Look in browse.tpl, for instance.


 
Posted : 02/04/2009 8:04 pm
(@clabby)
Posts: 71
Trusted Member
Topic starter
 

๐Ÿ˜ I only want the categories on the main page to lose the description and count.

And

I solved the issue with the background on pages such as admin and browse cats etc..  I checked the source in each page and by adding

#output {
              background: #ccc;
{

to the css the admin menu's now have a background and borders etal can be added as well.

For the browse categories however I had to add...
#pagetitle {
                background:  #ccc;
}
#browseblock {
                background: #ccc;
}

to the css.

To get the background


 
Posted : 03/04/2009 2:20 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

My suggestion should change only the categories on the main page, as it's the Blocks admin area that it's in, but if you have more than one skin it will change it for all of them. If you have another skin that you want to display the description in the block, then that would be a problem.


 
Posted : 03/04/2009 2:48 pm
(@clabby)
Posts: 71
Trusted Member
Topic starter
 

Sorry, Lyndsie, I read your original wrong!  ๐Ÿ˜ฎ  That worked fine! Thanks so much!


 
Posted : 04/04/2009 8:16 pm
Share: