PDA

View Full Version : Help!


wrestlingv123
11-29-2010, 07:54 PM
Hi guys, I'm having trouble finding what bit of css I go into to fit the "Blog Entries" bit nicely in with the rest of the postbit. An image is below showing the issue.

https://vborg.vbsupport.ru/external/2010/11/4.jpg

Help would be appreciated.

Mark.B
11-29-2010, 10:44 PM
Well the actual code for this is in the template blog_postbit_entries_link, if that's any help.

wrestlingv123
11-30-2010, 05:16 PM
Well the actual code for this is in the template blog_postbit_entries_link, if that's any help.I tried to edit it via that too but I'm pretty sure you go into something else. I remember editing the postbit_legacy (I think) ages ago and making everything nice and centered. Only if I could remember what I done!

Lynne
11-30-2010, 05:20 PM
It would help to have a link to the showthread page to see this so we can see what the page source is showing.

wrestlingv123
11-30-2010, 05:30 PM
It would help to have a link to the showthread page to see this so we can see what the page source is showing.

Here you go: http://www.mymmaforum.com/showthread.php/32-MyMMAForum-Launch-Date?p=116#post116

Lynne
11-30-2010, 05:47 PM
You are applying a class to the other items which puts the box around them - class .vbipostbit

Mark.B
11-30-2010, 05:47 PM
Here you go: http://www.mymmaforum.com/showthread.php/32-MyMMAForum-Launch-Date?p=116#post116
You have to accept rules to get anywhere with that link....I'm afraid I can't do that, I don't have time to read everything you're asking me to accept.

wrestlingv123
11-30-2010, 05:52 PM
You are applying a class to the other items which puts the box around them - class .vbipostbitIs there any chance you can write that bit of coding out for me? I'm not too sure how I do it - I did find this however on here:

<div class="eti_postbit"><{vb:rawphrase blog_entries} : <a href="{vb:link blog, {vb:raw post}, null, 'userid', 'blog_title'}">{vb:raw post.entries}</a></div>

Not sure if this similar to the coding or whether it was to create a blog entries link.

Lynne
11-30-2010, 05:54 PM
Change that class to vbipostbit and see if it works. It's really hard to tell since it looks like the postbit may be a bit messed up already by someone.

wrestlingv123
11-30-2010, 06:05 PM
No luck. I tried editing the postbit around but that didn't work either.

What I've done is just taken the bordering away so it makes things look normal for the time being.

Mark.B
11-30-2010, 06:29 PM
Ok as things stand *at the moment* you have this in your source code:



<dl class="userinfo_extra">

<dt>Join Date</dt> <dd>Sep 2010</dd>

<dt>Location</dt> <dd>United Kingdom</dd>

<dt>Posts</dt> <dd>14</dd>

<div class="eti_postbit">Blog Entries : <a href="blog.php/1">1</a></div>

</dl>





Needs to be changed to show this:



<dl class="userinfo_extra">

<dt>Join Date</dt> <dd>Sep 2010</dd>

<dt>Location</dt> <dd>United Kingdom</dd>

<dt>Posts</dt> <dd>14</dd>

<dt>Blog Entries</dt> <dd><a href="blog.php/1">1</a></dd>

</dl>



Without seeing your templates, the key to this is the blog_postbit_entries_link template which is clearly doing something completely different.

Sort that out, get it matching the others (mainly by adding the <dd> and <dt> tags and removing the <div>), THEN put the boxes back and make the same changes that added the boxes into the blog_postbit_entries_link template.

wrestlingv123
11-30-2010, 10:26 PM
OK, many thanks for your help Lynne and Mark. I'll fix the issue in the morning.