Archived topic
Remove white space from banner
9 replies · Started by Antonin on July 4, 2020
Hi, how to remove that white space from the banner on the right sidebar. I want to display only banner not these white borders. Even if I change the banner width its still the same.
Thank you,
anthony
Hi there,
try this CSS:
#right-sidebar .llcap-widget {
padding: 0;
}
Hi, its still the same, where should I add this? I'm using Simple CSS plugin and I add it there but no change, I also have other websites with the same theme and want to do it for all websites.
thanks
Try adding it to the very top of your Simple CSS code.
ok great it works but will this work If I change this banner or If I add another sidebar widget banner as well?
Also, if I want to do it for other website will this code work or do I need to change something?
The CSS Class may change from one widget to another.
I would recommend this plugin:
https://en-gb.wordpress.org/plugins/widget-css-classes/
Then you can add a CSS Class to the widget eg. no-padding
Then add this CSS:
#right-sidebar .no-padding {
padding: 0;
}
Now you can remove the padding from any widget by adding the no-padding class.
The plugin will not affect front end performance
All right I'll take a look into it but shoudn't it be like default or it depends on the theme you are using? I mean that padding option. Is this for all wordpress website or it's only doing on my theme?
thanks again
The no-padding option David suggested is using a custom HTML and CSS solution.
Hello again, I'm not sure if this issue is connected to the generatepress but I'll ask anyway. When I see my blog post I see some numbers and "more" at the end of the permalinks. In editor I don't have this in permalink and I have set wordpress in setting correctly.
Don't you know why do I have this "#more-772" at the end of every post?
For example like this URL: https://www.llcaposports.com/smarkets-review/#more-772
"#more-772"
thanks
Can you open a new topic for your question as it's unrelated to this one?
Thanks :)