Open mharoot opened 5 years ago
Page title
and Page slug
for the url and select the Add New Element
button:Add Image
Button:Background Style
is Cover
and Selecting Any of the center Icons should position it in the center and would not make any difference if it's in the top middle or bottom.issue1
after the host name
: http://localhost:8888/visual_composer_demo/issue1/
.entry .entry-content, .entry .entry-summary {
max-width: 80%;
margin: 0 10%;
padding: 0 60px;
}
### 5. If you notice after playing around with the settings that the whitespace is not being removed then you must look for another source of where it is coming from. In my case this did not resolve my issue.
```css
.entry .entry-content, .entry .entry-summary {
margin: 0;
}
.entry .entry-content > *, .entry .entry-summary > * {
margin: 0px;
}
http://localhost:8888/visual_composer_demo/issue1/
. Then click Customize:
Adding a Background Image and Removing Margins with CSS
Consider the following use case:
The Design of the Barber Shop on Desktop
We would like to have a background image similar to this mockup barber-shop-website:
The Design of the Barber Shop on Iphone 5/SE
Notice the background image holds its width and the full height of the device.
The Design of Our Site on Desktop
It is problematic for us to have the whitespace at the top. We need to remove the margin style responsible for causing this and we can do so quickly my customize the pages css.
CSS Solution
The Snippet