The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Blog Fixed Width For Embeded Images
Is there a plugin to stop photo comments in blogs from going outside of the fixed width area?
Thank you so much. |
#2
|
||||
|
||||
This is something easily controlled with a little custom CSS.
In your browser (Chrome in this example) Browse to a blog with an image that is too big, right click on it and choose "Inspect Element" There will be the css needed to apply to blog images, it is something that ends in img like: .blogcontent img { So in additional.css template add code like this: Code:
.blogcontent img { max-width: 800px !important; } Note- this is for inline images using the [IMG] tag. You may need a separate line for attached images- follow the same basic instructions. |
#3
|
|||
|
|||
--------------- Added [DATE]1347939861[/DATE] at [TIME]1347939861[/TIME] ---------------
My developer says it's not working. Blogs have fixed width for images, however blog comments still do not restrict the width on large images. |
#4
|
||||
|
||||
Oh that was for the blogs not blog comments. If you can link to a page I can get the correct code.
|
#5
|
|||
|
|||
we figured it out, thanks.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|