Skip to content
Snippets Groups Projects
Commit 9c9f9c1d authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3661: adding placeholder for facebook block

parent 3c036565
No related branches found
No related tags found
No related merge requests found
.uw-facebook { .uw-facebook {
width: 100%; width: 100%;
&__wrapper { &__wrapper {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
text-align: center; text-align: center;
} }
} }
.uw-facebook {
.fb-post,
.fb-page {
background: url('../source/images/icons/facebook_logo.png') no-repeat;
background-position: center center;
min-height: 340px;
text-align: center;
width: 100%;
}
<div class="uw-facebook"> <div class="uw-facebook">
<div class="uw-facebook__wrapper"> <div class="uw-facebook__wrapper">
<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
{% if feed_type == 'timeline' %} {% if feed_type == 'timeline' %}
<div class="fb-page" <div class="fb-page"
data-href="https://www.facebook.com/{{ username }}" data-href="https://www.facebook.com/{{ username }}"
...@@ -8,13 +7,12 @@ ...@@ -8,13 +7,12 @@
data-width="500" data-width="500"
data-hide-cover="false" data-hide-cover="false"
data-show-facepile="false" data-show-facepile="false"
adapt_container_width="true"> adapt_container_width="true"></div>
</div>
{% else %} {% else %}
<div class="fb-post" <div class="fb-post"
data-href="{{ url }}" data-href="{{ url }}"
data-width="500"> data-width="500"></div>
</div>
{% endif %} {% endif %}
<script src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
</div> </div>
</div> </div>
source/images/icons/facebook_logo.png

47.4 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment