- This topic has 17 replies, 4 voices, and was last updated 2 years, 11 months ago by
Fernando.
-
AuthorPosts
-
March 22, 2023 at 6:59 am #2576821
Kerry
Hello,
I recently switched themes from Wordsmith to explore. My previous theme had CSS applied to give me a 30px margin at the bottom of every image block./* this adds 30px after all GB images */
.entry-content .gb-block-image {
margin-bottom: 30px;
}Now using Explore theme in staging mode, it’s not giving in the desired margin spacing. I’ve removed the css, saved, purged, refreshed and reapplied code with no luck.
Any advice? Have I missed something in this code that should be applied for new theme?
Thanks in advance for any help possible.
March 22, 2023 at 7:44 am #2576865David
StaffCustomer SupportHi there,
can i see the issue on your site ?
March 22, 2023 at 8:03 am #2577028Kerry
It’s working on the current live site here:
https://corksandtacos.com/3-day-romantic-getaway-in-turks-and-caicos/I’m not sure how to show you the new version in the staging platform within siteground….
March 22, 2023 at 8:44 am #2577089David
StaffCustomer SupportThey should provide you a staging URL ?
March 22, 2023 at 8:53 am #2577103Kerry
March 22, 2023 at 10:24 am #2577297Ying
StaffCustomer SupportThe link requires an admin login to be seen, can you publish the page for us to see?
March 22, 2023 at 11:08 am #2577378Kerry
Hi,
I’m not ready to go live with the whole new theme. I’ll reach out for help after I publish the entire new theme.I was concerned I hadn’t used the correct code seeing as it worked on the old theme.
I’ll reach out again when it’s live and easier to view.
Thanks anyways.
KerryMarch 22, 2023 at 3:23 pm #2577693Ying
StaffCustomer SupportKeep us updated 🙂
March 27, 2023 at 6:15 am #2583970Kerry
Hello again,
I’ve fully deployed my staging site to a live site.
Using the css below on my previous theme (Wordsmith) it worked a charm. Now using in on the new theme (Explore) it doesn’t appear to be doing it’s job. Was hoping when I did the deploy of staging site, it might correct itself, but not to be.
/* this adds 30px after all GB images */
.entry-content .gb-block-image {
margin-bottom: 30px;
}Here is a link of how the image blocks looks now with no spacing at the bottom margin (first two large images on the post).
Please note if you are searching through other posts, I’ve manually added the margin to some of the more recent posts to create a nicer visual for my readers.
Any help appreciated 🙂
Thanks
KerryMarch 27, 2023 at 8:25 am #2584317David
StaffCustomer SupportTry this CSS instead, it will include the core Image block too:
.entry-content .gb-block-image, .wp-block-image { margin-bottom: 30px; }March 27, 2023 at 9:19 am #2584405Kerry
Just tried it and no luck. I also tried creating a new testing post in case it would activate on only new content.
I’m using the Simple CSS plugin. Should I perhaps uninstall that and retry?
I must be missing something somewhere…just can’t seem to figure this one out.
March 27, 2023 at 11:07 am #2584569Ying
StaffCustomer SupportTry adding it to the customizer > additional CSS.
March 27, 2023 at 11:34 am #2584618Kerry
Hi Ying,
I’ve removed the Simple CSS plugin entirely and now only using customizer > additional CSS.
When I add the code, it appears to function on pages, query loops and sidebar but not on the posts. Very bizarre.
Not sure if you can see anything behind the scenes that may be blocking this for page images.
March 27, 2023 at 1:58 pm #2584763Ying
StaffCustomer SupportI’m not seeing any CSS in the customizer >additional CSS:
https://www.screencast.com/t/0bOc0XTTHHave you removed the CSS?
Let me know!
March 27, 2023 at 2:47 pm #2584795Kerry
I just did a purge, let’s see if it shows now 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.