Posted: May 20, 2015 at 8:46 am
|
Hi Team, I have been trying to add custom css to make the changes as per the requirements. The issue is that I have used all the suggested plugins for CSS and no matter what I do it does not work. here are the few CSS codes that I am adding in the child theme CSS file:
this is the dev URL where I am working on: http://dev.towardsthedigitalwaterutility.org/sept-conference/ Thank you |
Hi, the Custom CSS doesn’t apply to the embed feature as that is loading the ticket selector from another website through an iframe. — |
|
|
Thank you Lorenzo, so you have mentioned that the custom CSS will not work for embed feature, So whats my solution as I just need the embed part and nothing else. I know I should not be editing the css files as another update will wipe out the changes made. Appreciated if you could have provided me with alternate solutions/work around than just let me know that the css will not work for embed feature. I hope you understand the frustration that I am going through. Thanks |
|
Hi, Iframes are limited like that unfortunately. One option, and this will only work because the iframe content is located on your site, is to use JavaScript. Create a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/) and add the following function.
That function will insert the CSS styles into the HEAD section of the iframe, thus styling the content in the iframe (in this case it makes the icon huge). NOTE: this is a very basic function, and really needs to be updated to be more specific to your site (e.g. in its current form, it will load on every single page!). It is intended as an example only. That code was based on this by SimpleSam5: http://stackoverflow.com/questions/6494721/css-override-body-style-for-content-in-iframe |
The support post ‘Custom CSS is not working’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.