|
Haven't registered yet? Do it here now!
|
tedvon
Joined: 08 Nov 2009 Posts: 5
|
|
|
|
|
|
|
Posted: Tue Nov 10, 2009 4:09 am Post subject: How do I edit bocat.php? |
|
|
|
|
|
|
|
|
|
|
I would like to change the style format of how the blog category listings. Specifically, I want to change the look of the link, visible, hover, and active. I tired adding a new class to the sidebar class, but that didn't seem to do anything.
I'm guessing I have to modify the bocat.php file, but it seems to be encoded. How do I modify it?
Thanks. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 10, 2009 10:36 am Post subject: |
|
|
|
|
|
|
|
|
|
|
to modify anything on the blog appearance, you need to edit the blog template, you dont need to touch any files, because they contain just php code and read everything from the templates.
Just see what you need to style from the html source of the blog output and in the css styling of the template write your own styling.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tedvon
Joined: 08 Nov 2009 Posts: 5
|
|
|
|
|
|
|
Posted: Tue Nov 10, 2009 7:27 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Perhaps I'm doing something wrong. I tried updating the sidebar class, but that didn't work. I also created a new class (sidebarlinks)
.sidebarlink {
link { color: #000000;}
visited { color: #000000;}
hover { color: #000000; }
active { color: #000000; }
}
and implemented it as a span:
<span class="sidebarlink">%%CATEGORIES%%</span>
However, that did not change anything.
I also tried a div tag, but also nothing.
<div class="sidebarlink">%%CATEGORIES%%</div> |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Nov 10, 2009 9:01 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, the things you did are wrong.
When you take a look at the blog output source code, you will see that the links for the categories have class="bocat"
so you need to style that class. put like
.bocat {
YOUR STYLING HERE
}
in your css stylesheet and it should work.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
tedvon
Joined: 08 Nov 2009 Posts: 5
|
|
|
|
|
|
|
Posted: Fri Nov 13, 2009 8:22 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Thanks!
For some reason just specifying .bocat didn't work. I eventually got it to work via:
a.bocat:link { color: #F60;}
a.bocat:visited { color: #900;}
a.bocat:hover { color: #F33; }
a.bocat:active { color: #B2F511; }
I only mention it as an FYI in case someone else has a similar problem.
Thanks again for your help. |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |