Home › Forums › All Other Themes › (SKT Food) Trying to Make a White Space
- This topic has 7 replies, 2 voices, and was last updated 5 years, 3 months ago by Sonl Sinha.
-
AuthorPosts
-
September 10, 2019 at 2:43 am #130441
So, I’m currently building a website and I’m having some trouble with the design. Here, this is the current version of one of the pages:
https://thepizzablueprint-246f52.easywp.com/cashew-cheese/
If you take a look at where the text is, you can see the issue. What I’d like to do is something like this:
https://imgur.com/a/zTKyf4M
I’d like to have a white background here, so I can make the text black and everything is readable without straining the reader’s eyes. However, I have been unable to modify the code using CSS to make it happen.
Can someone help me?
September 11, 2019 at 6:44 am #130492Hi,
Kindly go to Appearance >> Theme Options >> Basic Settings >> Custom CSS Box:
Add this code there:
.single-post .blog-post-repeat p { color: #282828 !important; } .single-post .blog-post-repeat { background: #fff !important; padding: 20px !important; }
Regards,
ChrisSeptember 11, 2019 at 5:37 pm #130561That worked perfectly. Many thanks!
If I want to do the same on the Articles of Interest area near the bottom of the homepage (https://thepizzablueprint-246f52.easywp.com) or pages like (https://thepizzablueprint-246f52.easywp.com/ingredients-2/), do I use that same code, but replacing the .single-post with the right coding?
September 12, 2019 at 5:18 am #130582Hi,
Kindly use this CSS
.page .blog-post-repeat p { color: #282828 !important; } .page .blog-post-repeat { background: #fff !important; padding: 20px !important; }
Regards,
ChrisSeptember 12, 2019 at 5:29 am #130584Oh! Okay, thanks. I think I see how this works, yup.
Thank you so much for the help!
September 12, 2019 at 5:41 am #130587Hi Nicolas,
If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/23/
Regards,
ChrisSeptember 13, 2019 at 12:46 am #130629So, I put in the code left here in the thread but for some reason it isn’t working. The code for the individual post with the recipe did work, but the second one, for the pages, didn’t change anything.
September 13, 2019 at 5:19 am #130639Hi,
Kindly use this one
.site-main { padding: 20px !important; background: #fff !important; box-sizing: border-box; }
Regards,
Chris -
AuthorPosts
- You must be logged in to reply to this topic.