Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Jan 2016, 15:50
edwinrcollins edwinrcollins is offline
 
Join Date: Dec 2014
Question vbcms css help

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.

Reply With Quote
  #2  
Old 21 Jan 2016, 22:58
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
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?
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #3  
Old 22 Jan 2016, 00:54
edwinrcollins edwinrcollins is offline
 
Join Date: Dec 2014
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.

Last edited by edwinrcollins; 22 Jan 2016 at 01:03.
Reply With Quote
  #4  
Old 22 Jan 2016, 00:57
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #5  
Old 22 Jan 2016, 01:14
edwinrcollins edwinrcollins is offline
 
Join Date: Dec 2014
Originally Posted by Dave View Post
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
Reply With Quote
  #6  
Old 22 Jan 2016, 02:41
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by edwinrcollins View Post
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...
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 17:28.

Layout Options | Width: Wide Color: