vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=321528

vbcms css help
by edwinrcollins
18 Jan 2016 15:50

in vbcms.css can I add a class that will override the class below? I have to use the embed code below but in my primary content article preview I need to control the height to get my article content above the fold.

I am not the best in css and I figured someone in here would tell me if it is possible.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


TheLastSuperman 21 Jan 2016 22:58

Probably a replace of some sort but so I understand this better could you take a minute and try to explain it differently or did I understand correctly... you just want to replace a snippet of code if found in the template with another snippet of code correct?

edwinrcollins 22 Jan 2016 00:54

Correct, I want to override
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with a predetermined Height/Width code.

If that makes sense.


Getty allows you to use their images, however you have to use their embed code. To be within the terms. I just need to find a way to shrink the image in preview mode on the homepage.

I can shrink the iframe portion of the code in css, but I can find a way to shrink the inline-block from the div class above.

In word press you paste this long embed code in and it converts it to a cleaner code and puts it in the article but there is no such mod for VB.

Dave 22 Jan 2016 00:57

Well you could try .getty.embed.image to override it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Inline CSS will have priority over that though.

edwinrcollins 22 Jan 2016 01:14

Quote:

Originally Posted by Dave (Post 2563160)
Well you could try .getty.embed.image to override it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Inline CSS will have priority over that though.

Used the above so it only changed the image in the showpreview.

Well that did get me closer but I still have a gap between the image and the text I need to close.

http://www.thedailynole.com/content.php

MarkFL 22 Jan 2016 02:41

Quote:

Originally Posted by edwinrcollins (Post 2563162)
Used the above so it only changed the image in the showpreview.

Well that did get me closer but I still have a gap between the image and the text I need to close.

http://www.thedailynole.com/content.php

Are you embedding these images using a BBCode? If so, look for a line break (in the HTML replacement):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After the image and remove that if possible...


All times are GMT. The time now is 16:39.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.