The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
thumbnail images [cms]
Hello,
In the homepage, the thumbnail images are placed on the left, and the written material on the right. But the way I want it is for the images to be centered and under the written material. website : www.n1-music.com Best Regards |
#2
|
||||
|
||||
Try something like, in vbcms_content_article_preview, find and remove:
HTML Code:
<vb:if condition="$showpreviewonly"> <vb:if condition="$previewvideo"> {vb:raw previewvideo} <vb:elseif condition="$previewimage" /> <a href="{vb:raw page_url}"> <img class="cms_article_preview_image" src="{vb:raw previewimage}" alt="{vb:rawphrase article_preview}" /></a> </vb:if> </vb:if> HTML Code:
<div class="cms_article_txt_content postcontainer"> {vb:raw previewtext} <vb:if condition="$preview_chopped">...</vb:if> </div> HTML Code:
<p class="bottom_image"> <vb:if condition="$showpreviewonly"> <vb:if condition="$previewvideo"> {vb:raw previewvideo} <vb:elseif condition="$previewimage" /> <a href="{vb:raw page_url}"> <img class="cms_article_preview_image" src="{vb:raw previewimage}" alt="{vb:rawphrase article_preview}" /></a> </vb:if> </vb:if> </p> HTML Code:
.bottom_image {display: block; clear: both; float: none; text-align: center;} .cms_article_preview_image, .showpreviewonly object {float: none;} |
#3
|
|||
|
|||
i do your changes and cms image's is center now , but my style isnt work properly so i revert any changes . i use custom style from completevb team .
|
#4
|
||||
|
||||
I can't help with a custom style. You'll have to take what I wrote and adapt it to the custom style to work.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|