Daniele De Santis
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Add Custom CSS] Custom css i loaded before the themes default cssHi,
it is an issue related to that specific theme, which is using a wrong hook to load its styles:wp_print_stylesinstead ofwp_enqueue_scriptsSee WordPress Codex and Make WordPress Core for reference.
You can edit file functions.php of your theme and replace line 67:
add_action('wp_print_styles', 'hemingway_load_style');
with
add_action('wp_enqueue_scripts', 'hemingway_load_style');
It will load your stylesheets in the correct order.Best,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Custom css i loaded before the themes default cssHello,
can you kindly provide the url of your website so I can inspect your code and see what’s happening?Thanks
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Long Load Times & Possible ConflictsYou’re welcome, you can use the contact form on my website danieledesantis.net
Forum: Plugins
In reply to: [WP Add Custom CSS] Long Load Times & Possible ConflictsHi James,
thanks for your kind words 🙂I’m guessing that this is because you are calling plugin code to query the database to dynamically obtain the CSS rather than referencing a saved, fixed file. (Or am I talking rubbish?!)
This could lead to permission issues, difficult to solve for an average user.
Anyway, such a long load time is strange, I’ve checked in many websites and the plugin file has an aboslutely normal load time.
If you want, you can write the url of your website (via private message if you prefer) and I’ll be happy to check the load time.
Regarding the ver parameter (which is added by WordPress, not by plugins, to make sure you’re seeing the latest version of the file), if you search on Google, there are some useful functions to remove them if you want.
Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Long Load TimesHi,
yes I haven’t received any notifications about your comment, probably because the thread was marked as resolved.
I’ve closed this thread and answered in the old one.Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Can I make changes to the blog pages?Hi Lois,
thanks for your appreciation.This question has not to do with the plugin, this is a general css question.
Anyway, I’ll be glad to help you if I can.You should inspect the code and check the classes applied to the body, then use them to apply the rules you need.
You should also check that the rules you’re using are not overridden by your theme.
Let me know if this helps
Daniele
Forum: Plugins
In reply to: [WP Add Custom CSS] Link attribute changesHi,
there’s a more specific rule in your theme’s stylesheet:.entry-content a:visited, .comment-content a:visited { color: #9f9f9f; }which overrides the one – which is more generic – that you put in the plugin’s stylesheet.
Hope it helps
DanieleYou are welcome! 🙂
Forum: Plugins
In reply to: [WP Add Custom CSS] Custom CSS for concrete tagHi,
you can do that using “body_class”. You can add a class for each tag applied to a post using a filter, and then use that class in your rules.If you search on Google you can find many functions to add tags to body_class.
Hope this helps,
Best
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Doesn't work at allYou’re welcome Lois!
Forum: Plugins
In reply to: [WP Add Custom CSS] Between Theme and PageHi mythusmage,
if you need to apply a rule to the whole front-end you should put it in the plugin’s main stylesheet, the one you can edit from the plugin’s settings page.Best,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Doesn't work at allI can’t see the main plugin’s stylesheet here (the one you create from the “WP Add Custom CSS” settings page).
Are you writing your CSS rules only on this page?
What CSS rules are you trying to apply?Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Doesn't work at allHi Lois,
please note that the plugin has been updated, you don’t need to edit it (line 172 has changed, by the way).Can you write the url of the pages where you can get it to work so I can have a look?
Thanks,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Stopped to work after last updateHi, this has been solved on last version
Best,
DanieleForum: Plugins
In reply to: [WP Add Custom CSS] Cannot hide tags at end of postsYou’re welcome!