Hi guys.
Is there a way, that I can get my buttons to use the css from my theme (oceanWP)?
Currently I am struggling with the hover functions.
It works perfect with my mailchimp shortcode, and the button uses the theme css and looks just the way, I want it to.
Hi David,
Not directly, no, but we might be able to allow for this with some custom CSS.
Do you have a public URL where we can take a look at your setup?
Sure thing…
On the home page:
https://naturligkrop.com
the button looks the way I would like it to. This is the mailchimp shortcode.
But on this page, it doesn’t…
https://naturligkrop.com/kostplan/
This is the buttons shortcode
Also, can you help me with a way to change the text on the blog, where it says: “You might also like”
https://naturligkrop.com/toastbrod-lchf/
I would like to say: “Har du ogsÃ¥ set”
Thanks
Hi David,
You can change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS:
How does that look?
You might also need to install the SiteOrigin CSS Editor.
It unfortunately looks wrong…
I’ve left it, so that you can see whats happening…
https://naturligkrop.com/kostplan/
The color is wrong, the padding is wrong… :(
Hi David,
Please replace the previously provided CSS with the above-updated CSS.
And now the text in hover is wrong :(
Maybe there is a different way to add buttons, that just follows the theme css?
Hi David,
You might be able to replicate the default theme button CSS by applying the button class to a link. Try adding the following HTML: