Vanquish Junior Member
Posts: 64 Status: Offline Gender: Male Location: Northern Ireland Age: 35 Joined:
pmvForum | 2 Requests (8th Aug 10 at 11:25am UTC) | | Ok, this is the issue I am having:
I am using the move category name to head image code.
The only problem is that the category text is vertically centered, and I would like to lower it a few pixels.
Problem:
What I want:
Was also wondering if it was possible to move 'Board Stats' and 'Sub Boards' into the head image aswell. | |
|
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: 2 Requests (9th Aug 10 at 12:24pm UTC) | | Where abouts is the board stats text? Can you link to the page? I can't remember :X --
<script> /*Category Name in Head Image by Wrighty No Repost, Rip or Claiming*/
var row = 1; //Are you showing the 'Board Name' row? 1 = yes, 0 = no.
var r = get('tr','tag'); for(i=0;i<r.length;i++){ if(r[i].cells[0].className == 'title2 categorytitle' && r[i].cells[0].innerHTML.match(/\/category\//)){ var x = (row==1)? 1 : -1; var num = parseInt(2 + x); var a = r[i-num].insertCell(1); with(a){ width="100%"; align="center"; className="titleHead"; } a.appendChild(r[i].cells[0].firstChild); r[i].style.display = 'none'; } } </script> Then use the css class "titleHead" to manipulate it! | |
|
Vanquish Junior Member
Posts: 64 Status: Offline Gender: Male Location: Northern Ireland Age: 35 Joined:
pmvForum | Re: 2 Requests (9th Aug 10 at 5:04pm UTC) | | http://vanquishskins.vforums.co.uk/
It seems to have messed up the category name. Also, meant just the Information Center text. Would probably be more useful if it applied to every head image.
So 'Sub Boards' in head image, 'Sticky Threads' and 'Normal Threads' in head images too.
Appreciate the help Michael. | |
|
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: 2 Requests (10th Aug 10 at 8:44am UTC) | | I'll look at making a code that does this everywhere sometime after work tonight! | |
|