css to remove white spaces

Posted in: Newspaper
Post count: 125

I need a css code to remove the white spaces from a page on my site. See image below:
https://www.screencast.com/t/g6aofKH4

Thanks

  • This topic was modified 8 years by pstgibson.
Post count: 22421

Hello,

Unfortunately a screenshot will not help. Please provide a link pointing at the white space so we can inspect the code.

Thank you!

Post count: 125
Post count: 22421

Hello,
Please add this code to your theme panel-> custom css box:

.page-template-default .wpb_text_column .w2dc-listings-block :last-child{
margin-bottom:0!important
}

Thanks.

Post count: 125

This worked.
Thanks a lot.

Post count: 125

Bogdan,
I am surprise that the white space has resurfaced, after it was removed by the css above.
One thing I know I did was to upgrade the plugin (Should that affect the css code that was applied to the theme? strange!)

https://warrimarket.com/property-ads/
https://warrimarket.com/car-market/

Funny enough, the link page below since to working with the css code, except for the two links pages above.
https://warrimarket.com/used-items/page/9/

Kindly assist.
Thanks

Post count: 20688

Hi,

The code seems to work when applied, but it is not applied from what I can see
https://www.screencast.com/t/zFLsVpm5NQN
https://www.screencast.com/t/AuVzNvXZy
It is not applying in the page where you mention it works
https://www.screencast.com/t/HRF2z4yE
The page should look like this with the code
https://www.screencast.com/t/j491XxvT
If you entered it in Theme panel->Custom CSS it should remain there even after a theme update.

Thanks

Post count: 125

please, where did you apply the css code that gave you this perfect result across all pages?

Post count: 20688

Hi,

I used the live CSS editor browser extension, that is useful for testing
https://www.screencast.com/t/O2fqSXmU
So the code should work when entered in the theme panel. Check if it is present there, enter it again if it is not. Clear all caching as well.

Thanks

Post count: 125

Kindly assist, the code is not working. I have flush my cache and reapplied the code, but no change.

Post count: 20688

Hi,

Please enter the code as it is, do not modify it at all

.page-template-default .wpb_text_column .w2dc-listings-block :last-child {
margin-bottom:0!important;
}

Make sure it is not in conflict with other codes you might have in the theme panel. Try removing all other codes and leave only this one. Or enter it directly in the theme stylesheet file to see if it works.

Thanks

Post count: 125

Please login to my site and take a look
THanks

Post count: 125

I have done as instructed by eliminating all codes, but no luck. I will appreciate you login yourself to check it out.

Thanks

Post count: 22421

Please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation.

Thank you!
Bogdan B

Post count: 125

The url, username and password has all be sent to your email via gibsonanath@gmail.com

Post count: 125

Where can I locate the theme stylesheet?
And on which line should I apply it on hte stylesheet?

  • This reply was modified 8 years by pstgibson.
Post count: 20688

Hi,

The theme stylesheet is located in the main theme folder, you could even use the default WordPress editor to enter it, at the end of all the code
https://www.screencast.com/t/8F05W0tnUj
However, if you have sent us an email we will try to identify why the code is not working properly.

Thanks

Viewing 17 posts - 1 through 17 (of 17 total)
The forum ‘Newspaper’ is closed to new topics and replies.