Forum Replies Created
-
AuthorPosts
-
Thanks @Gunni007!
add_action( 'wp_enqueue_scripts', 'wp_change_printcss', 20 ); function wp_change_printcss() { wp_dequeue_style( 'avia-print' ); }
did the trick.
Hi Basilis,
When I add that to the bottom of my child theme’s functions.php I get this error:
Notice: Use of undefined constant ‘avia – assumed ‘‘avia’ in /path/to/wordpress/wp-content/themes/enfold-child/functions.php on line 57
Notice: Use of undefined constant print’ – assumed ‘print’’ in /path/to/wordpress/wp-content/themes/enfold-child/functions.php on line 57
Notice: wp_dequeue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /path/to/wordpress/wp-includes/functions.php on line 4136
edit: I also tried the solution posted here but without any luck: https://kriesi.at/support/topic/remove-native-css-framework/
- This reply was modified 7 years, 9 months ago by Daniel.
Hi Yigit,
An old post but relevant: can this be managed by using the child theme’s functions.php?
Regards,
DanielYes yes, this works great (with an !important)! Thanks for the instant reply.
Cheers!
Hi Yigit, sorry it’s not https but http! :)
My 2 cents: the code above works! One thing: the display: none ends with a colon instead of a semicolon.
Hi Andy,
I managed to remove the shadow border by removing my CSS and choosing the right option in the Enfold settings: http://i.imgur.com/jkhOrWH.png. You can close the ticket. Thanks!
Hi Andy,
Doesn’t the screenshot work for you? I think I mean header where I say Menu (Sticky Header as mentioned in my first post).
Hope this clarifies my question!
Hi Andy,
Thanks for the reply. Yes, I’m referring to the shadow or border line under my menu. The screenshot is in the private content section. What you will see is that the border is always visible. I would like it to be visible only when scrolling (right screenshot in image).
Hope you can help!
September 2, 2016 at 8:10 am in reply to: WPML & Enfold: different styles in different languages #681171Hi @Rikard, thanks for the update. No further help needed at the moment :)
Regards,
DanielSeptember 1, 2016 at 12:29 pm in reply to: WPML & Enfold: different styles in different languages #680663Thanks for pointing me in the right direction polynome. I fixed it now by overwriting the enfold_child_nl.css with the enfold_child.css.
September 1, 2016 at 11:19 am in reply to: WPML & Enfold: different styles in different languages #680631If I change default to Dutch and English to secondary, all goes well. Then the other language uses enfold_child_en.css, but this file is identical to enfold_child.css
September 1, 2016 at 11:14 am in reply to: WPML & Enfold: different styles in different languages #680621I also see a difference in the source with other avia-dynamic-css id’s that are loaded:
– Main language uses enfold_child.css
– Other language uses enfold_child_nl.cssHi Rikard,
Thanks for the answer. I will do that; for now it’s nicely solved by using a widget and placing that in a page.
Cheers,
DanielHi Yigit,
Awesome, the
background-size: contain;
did it :) thanks so much!- This reply was modified 8 years, 3 months ago by Daniel.
Hi Ismael,
I found it, there was a
#top .main_color input[type='text'] { height: 15px; }
and that made it impossible to type in the field, only in IE11. It changed it to 30px and now all is good.Thanks for helping!
Hi Ismael,
Thanks for answering. It’s a specific IE11 issue. It’s kinda hard to post a screenshot of a text field not working, but here it is:
Thanks!
Hi Yigit,
Thanks for answering. I’ve updated to 3.6.1, flushed cache and refreshed. Still not possible to use the contact text form fields in IE11.
Thanks Ismael, that makes sense.
Hi Jordan,
No problem, I’ve placed them in the private content section. I have used
display:none;
to hide the Pages widget.Thanks for your quick help Vinay, it works now!
Hi Vinay,
We’re almost there! The divider image is now on top of the posts, they must be at the bottom. And after the last blog post there must be no image.
Hey Vinay,
Thanks for the kind words :)
I’ve added a code block to the general blog page but this doesn’t have any effect (which kinda makes sense since the CSS is not applied to some section or div. Where should I put it?
Thanks!
I found the issue; the header.php in my child theme needs to be updated too.
Hi Rikard,
You are so right, I feed kinda stupid now :) Thanks for the help!
Awesome, thanks Andy.
Hey Josue,
Your explanation makes perfect sense, thanks for that and for the first example. It looks good now.
PS. Weekend service +1!
Sure!
Hi Basilis!
Thanks for the quick reply. I was just curious if it was in the theme :) I might fill in a feature request!
Cheers, Daniel
-
AuthorPosts