vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   change logo size (https://vborg.vbsupport.ru/showthread.php?t=323102)

hollyboy 07-25-2016 04:21 PM

change logo size
 
In vb4 how do I change the logo size from 150px tto 120px?
Can't find the css

MarkFL 07-25-2016 04:34 PM

The anchor element containing the image has a classname of "logo-image".

hollyboy 07-25-2016 04:39 PM

Quote:

Originally Posted by MarkFL (Post 2573911)
The anchor element containing the image has a classname of "logo-image".

where do i find it in my admin panel?

MarkFL 07-25-2016 04:47 PM

If you wish to use that classname in a CSS selector, you can either add the selector to your "additional.css" template, which will affect only affect the styles whose template you add the selector to, or you can use a plugin to add the selector to all pages regardless of style. Since the logo you want to change is likely only in one style, you should be okay to simply add the selector to your template:

HTML Code:

.logo-image {
        width: 120px;
}


RichieBoy67 07-25-2016 04:48 PM

Quote:

Originally Posted by hollyboy (Post 2573912)
where do i find it in my admin panel?

Just copy that text and paste it into the style manager under Search in Templates.

#Better to use Mark's instructions above though. We must have posted at the same exact time.

rhody401 07-25-2016 07:39 PM

or maybe just upload the logo with the desired size

hollyboy 07-25-2016 08:54 PM

I have added:

.logo-image {
height: 120px;
}

to additional.css

but on my forum: http://www.interfans.org/forum/ the header does not get resized

Please help more

RichieBoy67 07-25-2016 10:44 PM

That is not just your logo but your entire header image. http://www.interfans.org/forum/images/header.jpg

That is why that css is not working.

Are you trying to squeeze in adsense there? The 728 by 90 is way to big for the header. I would suggest putting it under the navbar. Is that the reason you want to resize the logo?

KevinL 07-26-2016 12:09 AM

You could change the css for the navbar to :

.navbar {
margin: 92px 0 0 !important;
}

Just change the margin from 27px to 92px

hollyboy 07-26-2016 05:05 AM

Quote:

Originally Posted by KevinL (Post 2573928)
You could change the css for the navbar to :

.navbar {
margin: 92px 0 0 !important;
}

Just change the margin from 27px to 92px



it does work look
http://www.interfans.org/forum/index.php


All times are GMT. The time now is 09:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01149 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete