-
Author
-
March 24, 2016 at 12:59 #112531fersampParticipant
Hi everyone,
I’d need to make this two element (FB and Twitter page flows) with same height size:
– The first one is generated trough
<div id=”fb-root”></div>
<script>// <![CDATA[
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = “//connect.facebook.net/it_IT/sdk.js#xfbml=1&version=v2.5”; fjs.parentNode.insertBefore(js, fjs); }(document, ‘script’, ‘facebook-jssdk’));
// ]]></script>
<div class=”fb-page” data-href=”https://www.facebook.com/Dayroma-1646627195611119″ data-tabs=”timeline” data-width=”800″ data-height=”500″ data-small-header=”false” data-adapt-container-width=”true” data-hide-cover=”false” data-show-facepile=”true”></div>
– The second one is generated trough:
<a class=”twitter-timeline” href=”https://twitter.com/Day_Roma” data-widget-id=”710500239384440832″>Tweet di @Day_Roma</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+”://platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);</script>
I set the same height size for both in the respectively developer dashboard, so I don’t understand whay they aren’t the same height size.
How can I set/force their height size to be the same?
Thank you guys
Attachments:
You must be logged in to view attached files.March 26, 2016 at 14:34 #112859sharmstrModeratorIts because your fb widget is set to 500px and your twitter widget is set to 600px.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 29, 2016 at 15:47 #113255fersampParticipantSorry, but I set both to 600px height when I generated the code from developer console…
March 29, 2016 at 15:51 #113258sharmstrModeratorThe code you provided doesnt indicate that
“<div class=”fb-page” data-href=”https://www.facebook.com/Dayroma-1646627195611119″ data-tabs=”timeline” data-width=”800″ data-height=”500″ data-small-header=”false” data-adapt-container-width=”true” data-hide-cover=”false” data-show-facepile=”true”>“
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
You must be logged in to reply to this topic.