Home › Forums › Air WordPress Theme › Reduce title margin and padding
- This topic has 11 replies, 2 voices, and was last updated 4 years, 5 months ago by
Blurring boundaries.
-
AuthorPosts
-
December 20, 2021 at 3:28 pm #26429
In posts, need to reduce the space between title and content.
December 20, 2021 at 3:31 pm #26433Need to reduce the padding above and below the title
December 21, 2021 at 1:43 am #26441December 21, 2021 at 2:22 am #26446It is gallery post and Layout Template is standard gallery.
Would like to –
1. Reduce the margin between header and post title
2. Reduce the gap between title and text
3. Reduce gap between text and gallery
4. Have text box in 3 columns instead of single long lines
5. Also, is it possible to have text on left, one image on right and rest of the gallery below, like demo homepage https://theme.seatheme.net/air/portfolio/ in a post
Screen – https://ibb.co/KjMCJdvDecember 25, 2021 at 6:05 am #26467Awaiting possible solutions.
December 26, 2021 at 3:18 pm #26490This reply has been marked as private.December 27, 2021 at 1:37 am #26497Hi,
1-3.
Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:/* for desktop */ @media (min-width: 768px) { .single-portfolio-fullwidth .title-wrap, .single-portfolio-fullwidth:not(.page_from_top) .title-wrap { padding-top: 0px; /*the margin between header and post title, default is 160*/ margin-bottom: 0px; /*the gap between title and text, default is 40*/ } .gallery-post-des { margin-bottom: 60px; /*gap between text and gallery, default is 160*/ } } /* for mobile */ @media (max-width: 767px) { .responsive-ux.single-portfolio-fullwidth .title-wrap { padding-top: 60px; /*the margin between header and post title, default is 100*/ margin-bottom: 0px; /*the gap between title and text, default is 40*/ } .responsive-ux .gallery-post-des { margin-bottom: 20px; /*gap between text and gallery, default is 60*/ } }
December 27, 2021 at 1:47 am #264984. Do you mean the text below the Title? If it is, please add content with the shortcodes like(check your zero latency post):
[one_third] This is a one/third column. Duo cotidieque efficiantur an. [/one_third][one_third] This is a one/third column. Duo cotidieque efficiantur an. [/one_third][one_third_last] This is a one/third column. Duo cotidieque efficiantur an. [/one_third_last]
check more shortcodes: https://doc.seatheme.net/static/air/#short_code
ps:The text is aligned center by the default. Please add the custom CSS codes if you want it aligned to left:.single-portfolio-fullwidth .gallery-des-center.gallery-post-des .entry { text-align: left; }5. It is built by Page template “Introduction in List” , please check the demo page named Homed on your WP dashboard(Pages>All Pages).
December 27, 2021 at 3:04 am #26505CSS for the margin between header and post title is working for mobile, not working for desktop.
December 27, 2021 at 3:05 am #26506Yes, this is what I meant. In this, can I make the text full width and justify the text (not just align)
December 27, 2021 at 7:49 am #26512Hi,
1. Please update the CSS for desktop as:
@media (min-width: 768px) { .single-portfolio-fullwidth .title-wrap, .single-portfolio-fullwidth:not(.page_from_top) .title-wrap { padding-top: 0px; /*the margin between header and post title, default is 160*/ margin-bottom: 0px; /*the gap between title and text, default is 40*/ } .gallery-post-des { margin-bottom: 60px; /*gap between text and gallery, default is 160*/ } }2. Please add the custom CSS:
@media (min-width: 1200px) { .single-portfolio-fullwidth .gallery-des-center.gallery-post-des .entry { width: auto!important; } } @media (min-width: 768px) { .single-portfolio-fullwidth .gallery-post-des.gallery-des-center { padding: 0 60px; } }
December 27, 2021 at 1:56 pm #26516Text is not exactly justified even now.
Check screen https://ibb.co/m9VDwfw -
AuthorPosts
- You must be logged in to reply to this topic.
