Home Forums Air WordPress Theme border and white space

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26053
    applemint
    Participant
    Purchased
    Expired

    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)

    #26054
    applemint
    Participant
    Purchased
    Expired
    This reply has been marked as private.
    #26058
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi 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.


    Regards!
    SeaTheme – FAQsTwitterFacebook

    #26059
    applemint
    Participant
    Purchased
    Expired

    Thank 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

    #26060
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi

    You’re welcome 🙂

    If you want to add border to all Text, please update the CSS to:

    div[data-post="20210111-201057-156"]  {
     border: 1px solid; display: inline-block; padding: 10px;  
    }

    Regards!
    SeaTheme – FAQsTwitterFacebook

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.