Tagged: x
-
AuthorPosts
-
July 11, 2016 at 9:41 am #1081512
compelardoParticipantHi there,
I was installing a slider and there was a huge gap between the slider and the top of the menu bar. I was able to input some css for the padding at the top to be 0px but there was still a little bit.
This is the page:http://ywamburtigny.com/en/home/blog-english/
Any thoughts to make the slide flush with the top so there is no more white?
July 11, 2016 at 10:35 am #1081601
ChristianModeratorHey there,
That is because of the Google Font link wrapped in <p> tag (see attachment). Please remove it.
Thanks.
July 12, 2016 at 3:12 am #1082756
compelardoParticipantThanks for the input. Unfortunately I don’t know where I can go to edit the html and remove the <p> tag and the second, I tried in “inspect” to see what would happen but it removed the the type face and turned my text into times roman which I do not want.
What do you suggest?
July 12, 2016 at 8:28 am #1083073
ChristopherModeratorHi there,
Please remove
<p>tag and instead use CSS to change caption font familyPlease add following code in Customize -> Custom -> CSS :
.tp-caption{ font-family: "Open Sans" !important; }Thanks.
July 12, 2016 at 1:37 pm #1083573
compelardoParticipantwhere do I remove the <p> tag?
July 12, 2016 at 2:05 pm #1083606
compelardoParticipantFor the text that I can edit, it is all short codes and doesn’t show html codes.
July 12, 2016 at 4:20 pm #1083800
JadeModeratorHi there,
Kindly remove the font declaration you have added inside the column and place this in the Custom JS instead to load the Open Sans font:
WebFontConfig = { google: { families: [ 'Open+Sans::latin' ] } }; (function() { var wf = document.createElement('script'); wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })();Hope this helps.
July 13, 2016 at 1:46 am #1084363
compelardoParticipantOk, so technically I only want this applied to only one page for the site…the BLOG page in english and I’m assuming that I put this js code in global javascript but it would change all the typeface of the site. Also it did not solve the issue of the <p> tag that removes the intial reason for writing in about getting rid of the gap between the slider and the menu
Looking forward to hearing how I can solve this
July 13, 2016 at 6:04 am #1084630
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
.page-id-1268 #x-content-band-1 .x-column.x-sm.vc.x-1-1 p { margin-bottom: 0; }Hope it helps.
July 13, 2016 at 8:50 am #1084866
compelardoParticipantPerfect! Thank you!
July 13, 2016 at 10:18 am #1085008
JoaoModeratorGlad to hear it.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1081512 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
