Impossible to say what is happening there without a URL I’m afraid, so I’ll have to give some generic feedback:
a) AO doesn’t change the original CSS (or JS)
b) when aggregating AO groups the CSS by media-attribute, which can result in a slightly different order which in turn can result in the end-result being different as well.
so if (b) was happening and you tweaked the CSS as a workaround, then when disabling AO CSS opt. you might also have to undo that tweak?
frank
Hi,
I notice when “Aggregate all linked CSS-files? If this option is off, the individual CSS-files will remain in place but will be minified” It breaks the css for the page
https://castingbox.co.uk/blog
So I want to continue using the plugin however I would like the site to load correctly without the plugin if that makes sense.
don’t understand yet, so some more questions;
* have you made a screenshot of just the sidebar (widgets) or is that the full page (in mobile view)?
* so the sidebar styling is off on /blog, but can you give me an example (an exact URL) where it shown correctly when AO is CSS opt. off (or when “aggregate linked files” is off)?
* can you enable AO CSS optimization & aggregation now so I can compare (later tonight)?
frank
Hey
Just a screenshot of the sidebar both in mobile and non mobile view (same thing)
Here is a link to another page where it shows the correct styling :
https://castingbox.co.uk/job/ant-decs-saturday-night-takeaway
I have enabled the option for you, you will notice both pages look fine now. But if I switch it off it breaks again.
Thanks in advance.
OK, problem is the CSS in wp-content/plugins/wp-job-manager/assets/css/job-listings.css loads after the inline CSS (wp custome CSS) which also styles those job listings, so job-listings.css ends up styling the widgets.
when all linked CSS is aggregated, the inline CSS is applied after the aggregated CSS so the inline CSS overrides job-listings.css and the widgets are styled by the inline CSS.
if you want this to work when AO is not active, you’ll have to change the inline CSS, adding !important flags where needed.
hope this clarifies,
frank
Would you be able to remove the links to my website on this support page now that this issue has been solved please?
Afraid I can’t edit posts test484848484 (even my own are un-editable for me after 1 hour).