Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 04-25-2012, 03:48 AM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, I tried:

.vbcms_content img { max-width:100%;}

and:

.vbcms_content img {max-width: 350px; max-height: 200px;}

The first one doesn't change anything, the second one makes the latest article image size 350px wide, but doesn't change the preview images at all. I don't want to change the size of the latest article image, just the preview images.

--------------- Added [DATE]1335329618[/DATE] at [TIME]1335329618[/TIME] ---------------

btw, I've currently set it to .vbcms_content img {max-width: 350px; max-height: 200px;} so you can see how it looks with this setting, if thats of any help?
Reply With Quote
  #22  
Old 04-25-2012, 05:28 AM
dimobr dimobr is offline
 
Join Date: Mar 2012
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Some of you might just help me remove the solid background of the cms? just want to use an image as background, I already use the same of forum.
I left the variable vbcms_body_background as transparent, but this option does not take effect throughout all cms.

sorry for bad english ...
Reply With Quote
  #23  
Old 04-25-2012, 03:10 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your problem is this:

HTML Code:
.cms_article_preview_image {
    max-height: 150px;
    max-width: 150px !important;
}
It's got !important on it so it is overriding your CSS.

You need to get firebug and take a look at your CSS. It shows right up when you use that tool.
Reply With Quote
  #24  
Old 04-25-2012, 03:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dimobr View Post
Hi,

Some of you might just help me remove the solid background of the cms? just want to use an image as background, I already use the same of forum.
I left the variable vbcms_body_background as transparent, but this option does not take effect throughout all cms.

sorry for bad english ...
Please start your own thread for you own problem.
Reply With Quote
  #25  
Old 04-25-2012, 06:47 PM
dimobr dimobr is offline
 
Join Date: Mar 2012
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Please start your own thread for you own problem.
like this? https://vborg.vbsupport.ru/showthread.php?t=281923
Reply With Quote
  #26  
Old 04-25-2012, 06:58 PM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Your problem is this:

HTML Code:
.cms_article_preview_image {
    max-height: 150px;
    max-width: 150px !important;
}
It's got !important on it so it is overriding your CSS.

You need to get firebug and take a look at your CSS. It shows right up when you use that tool.
Which folder is this in Lynne, I'll go and remove the "!important"
Reply With Quote
  #27  
Old 04-25-2012, 08:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be in a template. Do a Search in Templates for that class.
Reply With Quote
  #28  
Old 04-26-2012, 01:05 AM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, you're awesome!!! Many thanks, its now working the way I want it to, and I'm able to size the preview images to my liking. I'd really love it if they could be automatically cropped to a size of my choosing, such as 330px x 220px, regardless of the original size, but I can resize them before I post them so they're all the same size to start with.

But this is great, and allows me to create my Home page in a way that suits me, and looks nice and tidy.

Thanks again for all your help Lynne, I really appreciate it.
Reply With Quote
  #29  
Old 04-26-2012, 01:19 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad you got it how you want.
Reply With Quote
  #30  
Old 04-26-2012, 04:01 AM
Steve038 Steve038 is offline
 
Join Date: Apr 2011
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again Lynne, I'm really pleased with the outcome.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:23 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.05515 seconds
  • Memory Usage 2,253KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete