![]() |
Where to edit login form
1 Attachment(s)
Hi
I would like to change a little bit the login form in the right corner on the top of forum. Where I can edit it? I would like to: 1. move it to right or 2. to divide it into 2 table (in first line : login form; in second Help / Registration) I will appreciate your help! |
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
|
I know how to find it. But I don't know which code is responsible for that.
Just need to move it to right, but try all margin-right and nothing works :( |
Quote:
I got this out of my developer tool Code:
.toplinks { Code:
<div id="toplinks" class="toplinks" style="right:0px;"> |
nerbert thanks for that!
But I don't now why... when I edit it in panel admin this code looks a little bit different: Code:
.toplinks { |
What I posted was what all that stuff evaluates to. I got it out of my Chrome developer tool. Like I said earlier you can override it with an inline style attribute but if you want to do it in the CSS template, change the second indented line to look like this
{vb:stylevar right}: 0px; /*{vb:math {vb:stylevar padding}*2};*/ That way you preserve the original in the the commented part in case you want to change it back. |
I find that the best way to change CSS is via the additional.css template, not by editing the default css templates. So you would add something like:
HTML Code:
.toplinks { |
All times are GMT. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|