Recent Topics

1 Mar 07, 2012 23:18    

My b2evolution Version: 4.1.x

Ok, I'm trying to build multi-colored links to my blogs at the top of my page. To do this, I'm not using the public bloglist widget, rather Free HTML as Sam2kb has suggested here: http://forums.b2evolution.net/viewtopic.php?t=22998
My CSS skills are weak and I don't quite understand how to do this. I've put the following code in a free HTML widget as follows:

<a href="http://operationsomething.com/index.php/kidz/" title="" class="kidz">Kidz Blog</a>
<a href="http://operationsomething.com/index.php/I-Love-My-Westy/" title="" class="westy">Westy</a>

Which is yielding this result: http://operationsomething.com/index.php/I-Love-My-Westy/

What I'm wondering now, is:

a) Am I on the right track with the code using the class parameter
b) What code do I need to put in my CSS to format them to look more like the tabs at the top of this page: http://operationsomething.com/index.php/home/

Can someone help me out here?

3 Mar 08, 2012 00:10

So you're saying don't do it with Free HTML, just stick with the bloglist widget?

Also, I can't seem to find that code referenced in the link you gave - any idea what file it's in?

4 Mar 08, 2012 02:01

Ethan5150 wrote:

So you're saying don't do it with Free HTML, just stick with the bloglist widget?

Also, I can't seem to find that code referenced in the link you gave - any idea what file it's in?

Yea, just use public blog list, or "sorted bloglist" widget for that matter.

If you use the "sorted bloglist" of Afwas you dont need that modif. already it has blog id builltin <a>'s class.

If you wanna go with public widget, you need to hack into /inc/widgets/model/_widget.class.php.html and replace about line 948-649 (v.4.1.3)

5 Mar 08, 2012 02:12

Ok, well yeah, I'm using the sorted bloglist, so how then do I have each individual blog link a different color?

I see what you mean about it assigning a different class for each tab.

Do I then just do something like:

.mBlog2 default{background-color:#FFFFFF;}

But that's not it - what am I missing?

6 Mar 08, 2012 09:16

Ethan5150 wrote:

Ok, well yeah, I'm using the sorted bloglist, so how then do I have each individual blog link a different color?

I see what you mean about it assigning a different class for each tab.

Do I then just do something like:

.mBlog2 default{background-color:#FFFFFF;}

But that's not it - what am I missing?

I guess you found it (:

7 Mar 08, 2012 19:24

Doesn't seem to work though...


Form is loading...