Tagged: x
-
AuthorPosts
-
December 13, 2016 at 10:11 am #1291477
Chris StovallParticipantI’m using a combination of the accordion and custom headlines on this site.
http://162.144.201.72/~roarla/
I really need to get the fonts to looks the same and have the same spacing at all device sizes.
What do I need to do to get the fonts to match?
Thanks!
December 13, 2016 at 11:16 am #1291544
RupokMemberHi there,
It seems you have set Helvetica font for everything and font-size and spacing are usual. Would you clarify where you want to match this? DO you want the Accordion Heading and Text as same? It won’t be usual but let us know what you are trying to accomplish so that we can help.
Cheers!
December 13, 2016 at 11:10 pm #1292266
Chris StovallParticipantI would like the accordion header to match the custom header as below.
http://i.imgur.com/O80nmPk.png
I can’t get the code correct to get the fonts to be the same size.
December 13, 2016 at 11:21 pm #1292280
NicoModeratorHi There,
In this case, to check your setup further, would you mind sharing us your admin credentials.
Don’t forget to set it as private reply.
Thanks.
December 14, 2016 at 5:52 pm #1293496
Chris StovallParticipantThis reply has been marked as private.December 14, 2016 at 10:25 pm #1293778
RupokMemberHi there,
Let’s add this CSS under Custom > CSS in the Customizer.
h5.extra-space { font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 114.2% !important; margin-bottom: -6px; margin-top: 45px; }And make sure to remove this :
.extra-space { margin-bottom: 35px; }Hope this helps.
December 16, 2016 at 11:46 am #1295805
Chris StovallParticipantSo the font size is great! Thank you for that.
What can we do about getting the spacing right on all of the screen sizes?
December 16, 2016 at 1:20 pm #1295886
JoaoModeratorHi There,
Can you clarify what you are referring to?
Thanks
Joao
December 17, 2016 at 10:58 am #1296647
Chris StovallParticipantWhen you resize the screen, the tops of the columns to not line up per the screen shot above. Or you can just look at the site.
December 17, 2016 at 11:26 am #1296656
ThaiModeratorHi There,
Please add the following CSS:
@media (min-width: 768px) and (max-width: 1100px){ #x-section-1 > div > div:nth-child(2) > h5:nth-child(2) { margin-top: 18px !important; } }Hope it helps 🙂
December 18, 2016 at 4:09 pm #1297386
Chris StovallParticipantThis worked great, but there are still a few screen sizes that are not lining up correctly. Same issue, just different screen sizes.
Thanks!
CDSDecember 18, 2016 at 7:49 pm #1297616
Rue NelModeratorHello There,
Thanks for providing the screenshots. You might need to update the code and make use of this instead:
@media (min-width: 768px) and (max-width: 850px){ #x-section-1 > div > div:nth-child(2) > h5:nth-child(2) { margin-top: 18px !important; } } @media (min-width: 851px) and (max-width: 1100px){ #x-section-1 > div > div:nth-child(2) > h5:nth-child(2) { margin-top: 24px !important; } }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1291477 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
