vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   can't apply styles to facebook feed (https://vborg.vbsupport.ru/showthread.php?t=313399)

Chadi 08-01-2014 09:22 PM

can't apply styles to facebook feed
 
Hey all,

trying to apply some super basic CSS to the facebook feed member images in my side block.

http://www.talkjesus.com/forum.php

I threw this in additional.css

Code:

._43q7 .img {
border-radius: 90px !important;
border: 1px solid #DDD !important;
padding: 1px !important;
}

It's not getting applied. I've tried various variations including with/without img, I tried also: ._s0 _rw img, ._s0 _rw, and ._43q7 ._s0 _rw img together.

Am I missing something?

tbworld 08-01-2014 09:49 PM

You need to provide the template name, php code or provide the actual code in order for us to know what you are describing. :) We need to see the HTML in order to create the proper selector.

"__43q7" looks likes a code generated selector.

Chadi 08-01-2014 10:07 PM

Quote:

Originally Posted by tbworld (Post 2509358)
You need to provide the template name, php code or provide the actual code in order for us to know what you are describing. :) We need to see the HTML in order to create the proper selector.

"__43q7" looks likes a code generated selector.

I use Firefox inspector to get this info. Homepage, side block (right). www.talkjesus.com

43q7 is the same one applied to each member picture, on every refresh. So it appears static.

This is the sideblock code

Code:

<div class="fb-like-box" data-href="https://www.facebook.com/talkjesus" data-width="260" data-height="405" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false"></div>
I already provided the CSS code I'm trying to apply.

tbworld 08-01-2014 10:38 PM

* Removed *

Zachery 08-01-2014 10:50 PM

You cant apply your CSS rules to the iframe without javascript trickery.

tbworld 08-01-2014 11:21 PM

* Removed *

Lynne 08-02-2014 02:13 AM

Zachery is correct. Your iframe is from another domain (thus, the CSS is from another domain) and you would need to use javascript to change the CSS. Google "apply css to iframe" to get some ideas on how to do it.

Chadi 08-02-2014 05:39 PM

Ok thanks Lynne and Zachery :)


All times are GMT. The time now is 10:32 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.04238 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete