kuckovic
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Fix Portfolio Image WorpingThat looks very odd!
I would definitely ask in the Jetpack support-forum: https://wordpress.org/support/plugin/jetpack/Best regards
Aris KuckovicForum: Fixing WordPress
In reply to: User Register Function on 2 pagesIsn’t this the same as: https://wordpress.org/support/topic/page-id-get-it-and-use-it-issue/
Forum: Fixing WordPress
In reply to: GT METRIX – DEFER PARSING OF JAVASCRIPTHi @vanodyssey
This question is being asked all over the internet π
Not all people get it, even though it looks simple.You have to be careful when playing around with the JS on the site, as it can “crash” your JS – and your site will not be fully functional.
I have used this plugin numerous of times: https://wordpress.org/plugins/async-javascript/
It never messed with my site.
It’s worth the shot. If it’s not working, or is messing around with your site, just deactivate it, and it’s all as it was before.Best regards
Aris KuckovicForum: Fixing WordPress
In reply to: PAGE ID – get it and use it issueHi @judyoos
I’m not quite sure I understand what you’re trying to accomplish.
You’re using the “user_register” action-hook – but how are you using it?
Is the user using a front-end form? Or do you register them through the backend?I would 100% recommend using AJAX for this purpose.
That way you can send the page_id, and make your if/else statement.Best regards
Aris KuckovicForum: Fixing WordPress
In reply to: Error during Plug-in UpdateHi @bheiser1
It’s not an error per say.
It’s actually standard WordPress.You can read more about it here:
https://wpbuffs.com/briefly-unavailable-for-scheduled-maintenance/To make a long story short – this can trigger the message:
- A serverβs slow response time
- The interruption (or timeout) of an update script or a low memory issue
I hope it makes sense π
Don’t worry, I’ve had that message over a thousand times before.Best regards
Aris KuckovicForum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessI’m just glad we figured it out in the end π
I definitely will – and if you need any assistance again, do not hesitate to ask here, or poke me on LinkedIn (Aris Kuckovic).Good luck with your website adventure π
Best regards
Aris KuckovicForum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessI definitely looks like it’s not overriding anymore π
Works fine here πForum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessYes, I understand that.
The problem is, that your parent-theme is overriding your enqueue-function, and loading the responsive-stylesheet after your chils-theme stylesheet.We will fix this.
The problem is, I do not know your theme unfortunately.
BUT! We can try to dequeue your responsive-stylesheet, and then enqueue it again.
In your child functions.php please comment out previous code, and add the following:function fix_stylesheet_problem() { wp_dequeue_style('thinkup-responsive', get_template_directory_uri() . '/styles/style-responsive.css'); wp_enqueue_style( 'thinkup-responsive', get_template_directory_uri() . 'styles/style-responsive.css' ); wp_enqueue_style( 'parent-style', get_stylesheet_directory_uri() . '/style.css' ); } add_action('wp_enqueue_scripts', 'fix_stylesheet_problem');Forum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessCan you comment out line 122 in that file?
It should be this:wp_register_style( 'thinkup-responsive', get_template_directory_uri() . '/styles/style-responsive.css', '', $thinkup_theme_version );To comment it out, you can do like this:
/* wp_register_style( 'thinkup-responsive', get_template_directory_uri() . '/styles/style-responsive.css', '', $thinkup_theme_version ); */Forum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessAre you looking in the parent or childtheme regarding the hardcoded responsive-stylesheet?
Also, what does your parent functions.php look like?
Forum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessAnother thing I was thinking…..
Maybe the responsive-css was hardcoded to the header.php file..
Can you please check??Forum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessHave you flushed your cache after that?
And can you please keep it like that for a moment, while I test? πForum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessYou need to enqueue the responsive-css FIRST.
It’s enqueued AFTER style.css and will overwrite it then πForum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessHi @robinburen
I see – it’s not optimal.
I also see, in your functions file, you’re enqueueing the stylesheets in different functions.Could you enqueue them in ONE function only?
Like I showed you previously.Forum: Fixing WordPress
In reply to: Parent css overwrites child css responsivenessI would not say that is the best way to do it.
What happens, if you don’t enqueue the style-responsive.css at all??