Padding issues
Hello and congratulations for the awesome theme. Please check out this link: http://www.jol-travel.com/packages/activities/hiking/
I have made those 3 columns using visual composer. Each column has 4 different elements: image - title - description - button. However the padding between the elements, especially this one between image and title, is too big although all the elements are in the same column. Is it the default padding? Cause it is too big I think. I have already found the css box styling under "design options" and I put "0" to all bottom and top padding but it doesn't work. The only way to remove this big space between the title and the image was putting margin -30px to title's css box settings but I guess this is not the best solution and also I have to do the same for each element.
So, what's the best way to fix the padding between the elements? Thank you in advance!
I have made those 3 columns using visual composer. Each column has 4 different elements: image - title - description - button. However the padding between the elements, especially this one between image and title, is too big although all the elements are in the same column. Is it the default padding? Cause it is too big I think. I have already found the css box styling under "design options" and I put "0" to all bottom and top padding but it doesn't work. The only way to remove this big space between the title and the image was putting margin -30px to title's css box settings but I guess this is not the best solution and also I have to do the same for each element.
So, what's the best way to fix the padding between the elements? Thank you in advance!
Comments
Also, I tried to put a background color to the middle column just to stylize my page and there are padding issues here as well which I cannot explain. As you can see, the content in the middle column with the grey background has paddings left and right but there is no padding above the image (inside the column i mean) and also there is no padding below the button so the button goes off the grey background.
padding is too big because this is how VC plugin works and such paddings can be changed within below css only: And because it is Visual Composer, most things must be changed with css as above. We recommend to have a look at http://themes.muffingroup.com/betheme/documentation/#theme-customizations where we explained how to use custom css.
.wpb_wrapper > img { padding: 0px !important; }
.wpb_wrapper > img { margin: 0px !important; }