• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Site Logo Image re-size

Admin

Well-Known Member
Staff member
Administrator
The default width for the logo image in VB5 is only 320px, which may suit the VB logo itself, but doesn't help those wanting a bigger logo, the easiest and best way to do this is by altering the css, doing it this way means you don't mess up the rest of the header area.

You only need to complete two edits to one file.

Go to :
AdminCP>Styles and Templates>Style Manager

From the drop down menu select :

Edit Templates>CSS Templates> css_global.css

Find :

Code:
#header .site-logo {
	padding: 22px 10px 26px;
	background:transparent;
	min-width:90px;
	[COLOR="Red"]max-width:320px;[/COLOR]
	position:relative;
	text-align:{vb:stylevar left};
}

Alter the max-width to the desired width in pixels, up to 720px works fine.

Find : (it should be directly underneath, the above)

Code:
#header .site-logo img {
	height:auto;
	width:auto;
	[COLOR="Red"]max-width:320px;[/COLOR]
}

Once again edit the part in red to the same figure as the first.

One point to remember is that with the height and width set to "auto" the CSS will make you image "fit" the maximum width set.

Therefore if you plan to use a larger logo, it is best to design the logo to your maximum width, if you use a smaller image, it will appear pixelated when enlarged by the CSS.
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
C Site Grabber From IP Tut, tool, mmo 0
N Zone-H Site list Grabber by Utchiha Tut, tool, mmo 0
phongphung Share OPEN web Site :--- Cloud24.vn ---Cung cấp VPS/Proxy Private chính hãng ( EU - VN - US ..v.v..) và hơn 60 quốc gia khác !!!! VPS & Dedicated Server 23
Admin DRC - User must verify their site (prevent spam links in postbit & profiles) Vbb tutorial 0
cuongpro9x Share theme làm site truyện Wordpress 1
M help sửa cái site wordpress bị chuyển hướng ko biết sửa Thảo luận chung 1
DavidC Share PrimeWayBux-New site 30/07-Min pay chỉ 0.01$,Instant payment. Thảo luận wap việt 0
M Cần textlink với site có lượt view tốt Thảo luận chung 0
yoona Hỏi Tạo head foot giống site này HTML & CSS 8
T Hỏi Cách Tích Hợp Login FB Cho Site PHP 5
roboconz Hướng dẫn Site Trial VPS Windows 1day cấu hình Khủng VPS & Dedicated Server 2
blog4me Share Pintastic 3 + modules - Site MXH hình ảnh-Video Mã nguồn web 7
T site ugasia,org sắp close reg nick Trò chuyện linh tinh 2
cuken [Share] Cách Phòng Chống Ddos site hiệu quả HTML & CSS 0
T Share Code check ip + site cùng sever chuẩn Mã nguồn web 4
H Help site free vps VPS & Dedicated Server 4
Admin Giới thiệu về tấn công Cross-site scripting Hacking 0
Admin VBulletin Advanced User Tagging Cross Site Scripting Exploit 0
W Thảo luận Text link site ** nè nhào vô Thảo luận wap việt 0
Admin Share module tạo popup trang chủ cho site joomla 2.5, joomla 3 Joomla 1
Kidblood Share Site auto backlink mới Thảo luận SEO 0
Admin Improve entire VB site with CloudFlare Vbb tutorial 0
Admin Share template blogger và data site phim Blogger 2
boy94 Share site lưu trữ code cho ae wapmaster Thảo luận wap việt 3
Admin Rate My Site & Testimonials in Forum Sidebar Add-ons 0
Admin Hàm php login 1 site khác PHP 0
Admin Share site dính bug topx changuandyu SQL injection 0
Admin Site dính bug topx cho anh em Hacking 1
Admin Google Adsense chính thức chấp nhận site tiếng Việt Tin tức CNTT 0
M Share Wapgrabber with 18 + free adult video. For your site. Mã nguồn wap 0
Admin Share site reg rsl hosting miễn phí Hosting & Domain Free 11
Admin [ozzy47] Site Links Block In WGO Add-ons 0
Admin CMS Misc Site Icons Vbulletin 0
Admin Share source site lang.name.vn bo-blog wapblog Mã nguồn wap 1
Admin Share template hades v1.6.1 làm site tin tức, blog cực đẹp Wordpress 0
Myshare Share Tut hướng dẫn add site(tên miền) lên google Hosting / Domain 0
Hero Share Tổng Hợp Hơn 100 Site Reg Domain - HOST - RSL = CCN Security - Local - Hacking 4
Admin Share template + data site phim blogger - blogspot cực đẹp Blogger 0
Admin Share full joomla template site yootheme.com Joomla 1
Admin Share indigamer v1.3 - wordpress template tuyệt đẹp cho site phim hoặc game Wordpress 0
Admin Hướng dẫn lấy link dofollow từ site pr 7 Thảo luận SEO 2
N Thảo luận Hợp tác khai thác nội dung trên site mobile Thảo luận wap việt 1
Myshare Hướng dẫn Tạo site map cho tất các web ứng dụng php+sql Vbb tutorial 0
Admin Hướng dẫn tạo backlink từ site page rank 5 Thảo luận SEO 0
S Xin Ai tạo giùm mìh cái site map đc ko ? Wap builder, wapego, xtgem, wen.ru, wapka, wap4 1
V Share [Cash Out] Tut site cash PP&CC về PPVN đang được thịnh hành Hacking 0
V Share [Tut] Hack site lỗi SQLi với Havij + Up shell - Guan™ Hacking 0
Admin Share code và data site công nghệ tranhluan.org Xenforo 0
L Share Cách lấy backlink từ site pr9 -flickr.com Thảo luận SEO 2
Admin Share site trong nước dính sql injection cập nhật 23/12/2012 SQL injection 0

Similar threads

New posts New threads New resources

Back
Top