Home / Forums / WoodMart support forum / How to make the banner page title smaller on mobile devices?
Home › Forums › WoodMart support forum › How to make the banner page title smaller on mobile devices?
How to make the banner page title smaller on mobile devices?
- This topic has 7 replies, 2 voices, and was last updated 6 years, 7 months ago by
Elise Noromit.
-
AuthorPosts
-
March 13, 2019 at 11:44 pm #112826
XtoliaParticipantHi team,
How to make the banner page title smaller on mobile devices?
March 14, 2019 at 8:56 am #112868
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Mobile:
body .title-size-small { padding-top: 100px; padding-bottom: 100px; }Increase or decrease 100px as per your needs
Best Regards
March 14, 2019 at 10:57 am #112897
XtoliaParticipantThanks for the info that part I know, however, I may have explained it wrong earlier. Please view attachment image for reference?
Attachments:
You must be logged in to view attached files.March 14, 2019 at 12:05 pm #112924
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Mobile:
body .page-title.color-scheme-light .entry-title { font-size: 20px; }Please replace 20px with the font-size you need.
Best Regards
March 14, 2019 at 4:04 pm #112991
XtoliaParticipantOkay thanks that worked for the mobile but then my banner padding became smaller on the desktop version. Here is the code I had prior to adding the new you code.
CODE PRIOR:
body .title-size-small {
padding-top: 200px;
padding-bottom: 200px;
}THEN WHEN I ADDED YOUR CODE TOO LIKE THIS:
body .title-size-small {
padding-top: 200px;
padding-bottom: 200px;
}body .page-title.color-scheme-light .entry-title {
font-size: 20px;
}IT MESSED THE BANNER PADDING UP.. what part of the css do I need to change to keep the same padding height while being able to make the page title font size smaller for mobile version?
March 14, 2019 at 7:49 pm #113019
Elise NoromitMemberHello,
Delete the duplicating code which I have given above:
body .title-size-small { padding-top: 100px; padding-bottom: 100px; }And increase the paddings in the code which you had before
Best Regards
March 14, 2019 at 9:53 pm #113043
XtoliaParticipantOkay I did, reference to the image I attached. Pretty much the same thing as before the css code controls the padding of my header but how do I control the font size for the entry title on mobile?
Attachments:
You must be logged in to view attached files.March 15, 2019 at 8:05 am #113095
Elise NoromitMemberHello,
Remove all the code which I have provided. Then just add this one:
body .page-title.color-scheme-light .entry-title { font-size: 20px; }This code changes the font-size and does not touch the paddings, which stipulate the height of the title.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register