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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2011, 10:41 AM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Images in CMS 100 percent

I'd like the images shown on the CMS to be 100% width.
not within the articles, but only on the "overview" (/content)

Anyone know how to achieve this?

I've made a temp solution, but that screws up most of
my articles.

(You can see what I mean here --> http://www.modellflynytt.no/content/ )
Reply With Quote
  #2  
Old 05-12-2011, 09:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand what you want. You seem to have set the images on that page to be 100% like you said you wanted, so what is wrong with what you did? What do you want it to look like if not how it looks like there?
Reply With Quote
  #3  
Old 05-13-2011, 06:27 AM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only solution I have found for achieving that is by setting Image Thumbnail Max to 100%
That screws up a lot of the articles, and I also have to make a custom setup for the other
image-sizes.

What I basicly want is to avoid changes to the stylevars (/common/image_xxxx_max), and just edit the output of content/cms page.
Reply With Quote
  #4  
Old 05-13-2011, 05:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then set the image size specifically for images on that page.
HTML Code:
#section_content .fullwidth .cms_article_preview_image {    max-height: 100%;    max-width: 100% !important;}
Reply With Quote
  #5  
Old 05-13-2011, 06:09 PM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woohoo!

Thanks a lot

Amazing how easy stuff is once you know where to look for it
Reply With Quote
  #6  
Old 08-07-2011, 08:01 AM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm.. After upgrading to 4.5.1PL1 this setting no longer works?
Tried changing the size, but no luck :/
Reply With Quote
  #7  
Old 08-07-2011, 04:42 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where did you add the new css originally? I don't see it at all on your site.
Reply With Quote
  #8  
Old 08-09-2011, 06:14 AM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its in my vbcms.css

.article_preview_contents ul > li, .article ul > li {
list-style:disc inside; /* keeps the bullets from going inside the preview image */
}

.cms_article_preview_image, .showpreviewonly object {
border:{vb:stylevar vbcms_article_preview_image_border};
outline: {vb:stylevar vbcms_article_preview_image_outline};
float:{vb:stylevar left};
margin:{vb:stylevar vbcms_article_preview_image_margin};
}

.cms_article_preview_image {
max-height:400px;
max-width:100% !important;
}

.showpreviewonly object {
{vb:stylevar vbcms_article_preview_object_size};
}
Reply With Quote
  #9  
Old 08-09-2011, 08:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My guess would be you have overwritten it. I do not see it in the css on your site right now.
Reply With Quote
  #10  
Old 08-10-2011, 06:14 AM
xili4n xili4n is offline
 
Join Date: Mar 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also thought of that, but I can find it if I search for it. (Search in templates)

Is there a better place to put custom CSS?

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



As you can see in this image, its there... just not working
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 04:33 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.04043 seconds
  • Memory Usage 2,248KB
  • 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
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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