vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CMS Layout (https://vborg.vbsupport.ru/showthread.php?t=281766)

sonhit 04-27-2012 02:50 PM

@ Steve038

I also have the same problem with you, it took me 2 days
every things seem very simple and i already do all, but it still not work !!!
the css in firebug show still

.vbcms_content img {
max-width: 100%;
}
css.ph...ud.css, (line 1669)
.cms_article_preview_image {
max-height: 150px;
max-width: 150px !important;
}

Could you share the way to do

many thanks in advance

my site iss: http://xommohinh.com

Lynne 04-27-2012 04:20 PM

the max-width !important is causing your issue just like it caused his.

sonhit 04-28-2012 04:58 AM

thank Lynne for your reply
but i just tried both have and no have !important;
in vbcms.css

my code here:

.cms_article_preview_image {
max-height: 250px;
max-width: 300px;
}

But it still not work :( in firebug the code still:
.vbcms_content img {
max-width: 100%;
}
css.ph...ud.css, (line 1669)
.cms_article_preview_image {
max-height: 150px;
max-width: 150px !important;
}

It seem not affect, so what's my problem here ???

Lynne 04-28-2012 04:26 PM

An !important will overrule anything you add because that is what an !important does. You need to remove it or override it.

sonhit 04-29-2012 10:07 AM

oh, thank Lynne

i already find out my problem.
I have 2 copies of forum, one in the host site and the other in my local,
when i do change in local it is not affect because it still in host and now i fix the url of my forum in local, it's definitely work

one again thank to you and best wish !


All times are GMT. The time now is 02:31 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
  • Page Generation 0.00951 seconds
  • Memory Usage 1,721KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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