• Resolved janbillund

    (@janbillund)


    Hi
    Please check custom section (above contact section) on this webpage: https://textservice.dk
    Is it possible to change the margins? I dont want the text to be so wide, so I need bigger margins. I’ve tried to use tables, but it changes the formatting of the text.
    Thanks in advance 🙂
    Regards
    Jan

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author FameThemes

    (@famethemes)

    Hi Jan,

    Do you mean to change the width of the custom section? You can try to add this CSS code to Appearance > Customize > Additional CSS.

    #sid1638368288783 .container {
        width: 100%;
        max-width: 1300px;
    }
    Thread Starter janbillund

    (@janbillund)

    Yes, thats exactly what I mean, thanks.
    I’ve changed the width to 60 % and its looks much better now on my computer, but on a mobile it looks weird. To big margins.
    Is it possible to change the width to 90 % on mobile, and keep the 60 % on computer.
    Thanks in advance.
    Regards Jan

    Theme Author FameThemes

    (@famethemes)

    Hi,

    You can use the media queries to apply the code for the mobile-only.

    @media (max-width: 767px) {
        #sid1638368288783 .container {
            width: 90%;
            max-width: 300px;
        }
    }
    Thread Starter janbillund

    (@janbillund)

    Works perfectly. Thanks for great support 🙂

    • This reply was modified 4 years, 6 months ago by janbillund.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Change margin in custom section’ is closed to new replies.