The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello. I had a question about moving a text block DIV into another DIV. I was able to edit the Forumdisplay.php file to achieve the look I wanted, but I stripped out a lot of CSS to do it. Do I need to leave the CSS and find another way to do this?
This is what I want: ![]() Original code: Code:
<div id="pagetitle" class="pagetitle">
<h1>{vb:rawphrase forum}: <span class="forumtitle">{vb:raw foruminfo.title}</span></h1>
<vb:if condition="$foruminfo['description']"><p class="description">{vb:raw foruminfo.description}</p></vb:if>
</div>
This is my code with the stripped out ID and Class CSS that I pasted into the desired area: Code:
<p style="text-align:left;padding: 2px 5px 5px 5px;float:left;">
<b>{vb:rawphrase forum}: {vb:raw foruminfo.title}</b><br>
<vb:if condition="$foruminfo['description']">{vb:raw foruminfo.description}</vb:if>
</p>
Am I going about this the wrong way? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|