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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2012, 11:14 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help - Upgrade doesn't have Responsive Style

I just upgraded to vb 4.1.12 over the weekend and to my surprise I don't have the Responsive Design / Template / Style or whatever you call it. My uploaded images will not adjust to the width of the browser. I'm really depending on this since I installed Everywhere Sidebar and have it visible in my threads so there's less room for the 800px wide images.

Now I need to scroll horizontally to view the whole image.

Can somebody tell me how to set my design as Responsive? It's strange, I had this working during the test phases but somehow have turned it off.

Oddly enough, when I preview my post before I publish, it's responsive, I can adjust the width of the browser and the image adjusts. But once I save and publish, it's no longer responsive.

Here are some screenshots. There's the photo, then the previewed post, then the published post where the right side is cut off.





Reply With Quote
  #2  
Old 05-21-2012, 11:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a CSS issue and is therefore impossible for us to make suggestions without a link to the problem.
Reply With Quote
  #3  
Old 05-22-2012, 01:36 AM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the reply, here's an example link:
http://www.bogley.com/forum/showthre...04-I-fell-into

Which CSS template would you suggest I look at?
Reply With Quote
  #4  
Old 05-22-2012, 03:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try something like:
HTML Code:
div.attachments {
    width: 100%;
}
div.attachments img.attach {
    height: 100%;
    width: 100%;
}
Reply With Quote
  #5  
Old 05-22-2012, 05:29 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again Lynne, but can you tell me exactly where to place that code? On what template or sheet?
Reply With Quote
  #6  
Old 05-22-2012, 06:10 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Place it at the additional.css template.
Reply With Quote
  #7  
Old 05-22-2012, 06:37 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK that's almost there! Now it's works for the "attached" images that appear below the post text, but not the attachments added inline via the "Insert Image" method.

The link above, has images added via Attachment Manager and that is working now: http://www.bogley.com/forum/showthre...04-I-fell-into

But I'd also really need this same concept to work on the "Insert Image" inline images, example here: http://www.bogley.com/forum/showthre...op_May-19-2012

Thanks so far for the help, I just pasted that code at the bottom of the additional.css template.

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

Any new ideas for the inline images? I just need to know what the css term is. Thanks

Better yet... what is the post preview css file called? Since the inline image width is responsive there, maybe I can just copy the code in that css sheet and add it to the additional css?

Thanks.

EDIT: Nevermind, found it. Added this to the additional.css:

blockquote img {
max-width: 100%;
}
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 02:38 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.03725 seconds
  • Memory Usage 2,214KB
  • 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
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete