Tagged: x
-
AuthorPosts
-
August 25, 2016 at 2:40 am #1146215
dogpileParticipantHi,
is there a way to make the headlines in cornerstone responsive?
best regards!
August 25, 2016 at 2:42 am #1146218
dogpileParticipantThis reply has been marked as private.August 25, 2016 at 3:05 am #1146247
RupokMemberHi there,
Thanks for writing in! Yes you can use “Responsive Text” in Cornerstone – http://prntscr.com/ca5caq
Let’s add a selector there with minimum and maximum font-size – http://prntscr.com/ca5cgm
Then use the selector in Class field for your Custom Headlines – http://prntscr.com/ca5cq2
Hope this helps.
Cheers!
August 25, 2016 at 3:43 am #1146281
dogpileParticipantThanks for the Screenshots. I defined the rule attached to the screenshot and applied the class to the element, but it wont work. Anything wrong with the declaration? In theory it is supposed to work, right?
August 25, 2016 at 3:45 am #1146282
dogpileParticipantHere’s the files:
August 25, 2016 at 4:48 am #1146352
LelyModeratorHi There,
Thank you for the screenshot. It’s not working because you have added dot (.) on the class field. On the class field just add h-unter without the dot.
Hope this helps.
August 25, 2016 at 6:37 am #1146462
dogpileParticipantWorks almost like a charm. But there are still some breakpoints that will disappear. Just look at the screenshot
August 25, 2016 at 7:35 am #1146514
JoaoModeratorHi There,
Try decrease in a couple of pixels your minimal font size.
Let us know how it goes,
Joao
August 25, 2016 at 9:09 am #1146616
dogpileParticipantIts not helping, imho it is not the minimal-viewports that cause trouble, its the areas in the middle..
August 25, 2016 at 11:22 am #1146854
RupokMemberHi there,
Thanks for writing back. It will be automatically adjusted based on your minimum and maximum font size along with the compression. If you still need to adjust the font-size for any specific screen range; you can add this under Custom > CSS in the Customizer.
@media only screen and (min-width: 800px) and (max-width: 1100px) { .h-custom-headline.h-unter { font-size: 16px !important; } }Hope this helps.
August 30, 2016 at 12:07 am #1152810
dogpileParticipantIt helped! Is it possible to declare this rule sidewide for all -say- h5-headlines to behave responsive? otherwise it would be a painful job to manually declare this for almost a hundred pages..
August 30, 2016 at 2:13 am #1152896
ChristopherModeratorHi there,
Yes, it’s possible. Please update previous code to :
@media only screen and (min-width: 800px) and (max-width: 1100px) { .h-custom-headline.h-unter,h5,.h5 { font-size: 16px !important; } }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1146215 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
