-
AuthorPosts
-
November 25, 2015 at 6:29 pm #542633
Hi,
My plugin is not correctly displayed with Enfold, I don’t have that problem with other themes.
That plugin is CYSTEME Finder Pro, check link in private section.
If I change to default theme, or to any other theme I currently use, no problem, the plugin works fine.
But with Enfold, you’ll see for example that the magnifying glass inside the search field on top right is not at the right place.
So how can I prevent Enfold CSS to destroy my needed CSS ?Thanks.
November 25, 2015 at 9:28 pm #542699Hi Luc!
When I view your link all I see is this.
Vous n'êtes pas connecté.
Do we need to login? Please take a screenshot of the issue as well so we know what we are looking for.
Regards,
ElliottNovember 26, 2015 at 12:14 am #542790Oh sorry Elliott, You can try now without any account.
Thanks for your help.November 26, 2015 at 8:23 am #542891Hi,
I’m not sure what it’s supposed to look like, could you link to somewhere where we can see an example?
Regards,
RikardNovember 26, 2015 at 8:47 am #542903Right. You can compare display with this link: http://cysteme.fr/findertest
Thanks.
November 26, 2015 at 10:39 am #542956Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.elfinder-button-search input { margin-bottom: 0!important; } #elfinder { border: 1px solid #e2e2e2; }
Best regards,
YigitNovember 26, 2015 at 12:38 pm #543052Sure, I can manually update all CSS, but that was not the goal of my question.
My plugin use its own CSS a lot, thousand of lines, and I want my plugin works completely and correctly on any WP site. When using Enfold, not only the search bar is bad displayed, but almost everything: fonts are smaller in list mode, right click menu on file item is huge rather than small, icons borders has disappeared, and so on …
Manually update all CSS files and add !important after each line is a huge work, and would not be clean.
How can I force my own CSS plugin files to be used in priority ? I’m sure many plugin developpers already had that problem.
Thanks.November 27, 2015 at 10:10 am #543505By the way, you can see exactly how it looks out of WordPress here => http://finder.cysteme.fr, use public, no password.
November 30, 2015 at 10:37 am #544335Any answer ?
November 30, 2015 at 10:51 am #544342Hey!
Sorry for the late reply!
Can you please try copying the content of your plugins CSS into Enfold’s layout.css file which is inside Enfold/css folder?
Regards,
YigitNovember 30, 2015 at 12:03 pm #544394I don’t dont to change Enfold initial folder, upgrade would be non-manageable, that’s not clean.
Would it be possible in enfold-child to force a layout.css ? For example enfold-child/css/layout.css ?
In that case maybe I could import my 3 css plugin files inside that layout child css file ?
As:
@import url(“../../plugins/cysteme-finder-pro/css/finder.css”);
@import url(“../../cysteme-finder-pro/css/jqueryui.css”);
@import url(“../../cysteme-finder-pro/css/theme.css”);December 2, 2015 at 10:29 am #545803No answer ? ;)
December 3, 2015 at 6:26 pm #546584Hi!
You can try having your plugin load the CSS in the “wp_footer” hook so it’s added to the end of the document. It might not overwrite all of the theme CSS though so you may still need to use !important in some areas.
Cheers!
ElliottDecember 4, 2015 at 10:56 am #546879Well, not working. To my opinion, CSS have to be loaded in head part, not in body part. So with wp_footer hook it’s change nothing.
Sure it’s a CSS priority problem, I can see my CSS file are loaded first then Enfold CSS destroy mine. I don’t know how I can change that order.December 7, 2015 at 9:06 pm #548286Hey!
it would require a huge amount of time and customization of the theme to achieve that and as written in our support policy this is out of our support scope. If you need help on this, it would be best to hire a freelance developer for this job.
Cheers!
Andy -
AuthorPosts
- You must be logged in to reply to this topic.