Home › Forums › Air WordPress Theme › border and white space
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by
SeaTheme.
-
AuthorPosts
-
October 31, 2021 at 2:49 pm #26053
Hi,
I am using Air Worpress theme and have two question regarding one webpage.
1. How can I add a border to the text with title: “Registration Info” which is in a Text Block module in Page Builder?
2. Even though all sections are set up the same, the white space in between is different. Why is that, and how can I fix it?
Thank you
(see next message for the webpage)October 31, 2021 at 2:50 pm #26054This reply has been marked as private.November 1, 2021 at 3:27 am #26058Hi there,
Welcome to SeaTheme forum.1. Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
div[data-post="20210111-201057-156"] h4 { border: 1px solid; display: inline-block; padding: 10px; margin-bottom: 20px; }2. For the classes page, I found you add several fullwidth wrap.
You can use the custom CSS to define different spacing with anchor name of a fullwidth(with Enable Bottom Inner Spacer and Enable Bottom Outer Spacer)#private-sessions.bottom-space-40-in{ padding-bottom: 60px; } #private-sessions.bottom-space-40{ margin-bottom: 40px; }60 and 40 are the default value, please adjust them.
November 1, 2021 at 3:23 pm #26059Thank you!
1. I wanted to add border to entire Text Module, but the above code, adding border to title only actually looks better than what I intended.
2. I discovered why white spaces were different between the wraps. When the Advanced Settings of a Text Module are turned Off, it hides that the Default Bottom Margin is set to 40px. Some of the Text Module had default Bottom Margin, and others were set to No Margin.
Thank you for the code, it allows for cleaner fine tuning, instead of turning on both Bottom Inner Spacer and Bottom Outer spacer.
Kind regards
November 2, 2021 at 1:40 am #26060 -
AuthorPosts
- You must be logged in to reply to this topic.
