User jgirl emailed me with a few questions, but rather than email her back, I though it'd be better to post here, since others may have the same questions... It's worth noting jgirl's installation has already been customized a bit, but the questions & answers should still be relevant to everyone.
QUOTE:
Been playing with it non stop! This is so much fun. The only things that I can't seem to figure out are:
1. I can't get the underline to go away from the Category Links
2. I can't seem to find that google ad at the bottom of the page
3. Some of the pages have a squished navigation bar, while others are all spread out the full width of your screen. Is there any possible way I can make this consistent?
Much of the look/feel can be changed by editing the stylesheet in your chosen theme directory.
#1
Since I'm not sure what is causing the underline, probably the best way is to create a new entry in the stylesheet. Placing the entry at the bottom will ensure it isn't overwritten by a subsequent style... remeber the C in CSS stands for cascading.. I still occasionally struggle with the ramifications of that.
So, near the bottom of your stylesheet, try adding
| Code: |
.mainCategory a:link, .mainCategory a:visited, .mainCategory a:active {
text-decoration: none;
}
|
To give an underline when you hover over the link is often a nice touch.. so a following class for that..
| Code: |
.mainCategory a:hover {
text-decoration: underline;
}
|
#2
The main reason the width fluctuates is because some cubcategories don't have entries, while others do. Still, you can set it to be a consistent width, by editing
the stylesheet .. The top navigation links are stored in a table with a class name of "homebalkback", that stylesheet entry looks like this ..
| Code: |
table.homebalkback {
background-color: #99CFFF;
color: #000000;
}
|
of course your colors may be different, depending on your theme... I prefer to use percentages to set widths, so they scale to the various resolutions viewers might run...
To set the table width to 90%, just add
of if you want to use a set number of pixels .. 600px;
#3
The ads are basically entered as an example, although I do apreciate those who choose to leave one of my own ads in place, it's certainly not required.
To remove them completly, edit the include/config.php file , near line #67, locate
Simply change the one to a zero to turn the banner system off.
If you'd like to show your own banners there, look over the files in the /banners directory, you'll also find a readme.txt file there....
QUOTE:
You can place your own banners in this directory. Simply continue naming
them numerically, 3.html 4.html & side-3.html side-4.html and so on.
Once you'd added your banners, be sure to edit the /include/config.php file
Look for the line
$numbanners = X;
Set X to the highest number of banners you have, example, if 6.html is the
highest numbered banner you have, you would enter
$numbanners = 6;
For simplicity, make sure to have the same number of side banners as you do
footer banners.
Note that side banners are only shown on pages that require pagination. Also
note, that if banner 2.html is shown side-2.html will be shown as well.
While it's not required, I'd sure apreciate it if you left one or more of my own
Adsense banners in place. It is the only form of revenue I get for maintaining
and supporting Dew-NewpHPLinks.
Regards,
Dewed
http://www.dew-code.com
I should probably edit that last part "*Other than the rare donations from a few generous visitors*, it is the only form of revenue I get for maintaining and supporting Dew-NewpHPLinks. "
Anyways, you can just edit the existing 0.html , 1.html etc.. or add more if you like.