Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2408189
Padding is not applying to Mainsidebar
Closed

Comments

  • Soul Accessory started the conversation

    Hi, i am trying to add 30px padding to my entire website content. Unfortunately, the padding-right:30px; is not applying to Mainsidebar. I am using this below piece of code to add padding

    @media only screen and (min-width: 1170px){
    .container { 
    width: 1400px;
        padding-left:30px;
       padding-right:30px;
    }
      .container.penci_sidebar{  padding-right: 30px; }

    }

    However i am getting the result as attached in the below screenshot.

    Also when i zoom browser, the entire alignment is misplacing.

     Kindly guide me for these two issues.

  •  2,700
    PenciDesign replied

    Hi,

    Please try again with this code:

    @media only screen and (min-width: 1170px){
        .container{
            width: calc(100% - 60px);
            margin-left: 30px;
            margin-right: 30px;
        }
    }
    

    Best Regards,

    PenciDesign

  • Soul Accessory replied

    Thank you. This piece of code worked for me!!!!!!