-
AuthorPosts
-
January 30, 2018 at 9:00 pm #905122
Hi
in Enfold-Settings ís this option:
“Show element options for developers”
– It is checked
– If i give an element a class this class does NOT show up in the HTML and therefore i cant adress it via CSS.
– I dont have any plugins installed which might cause that disfunction
– I can not give you access – website is on localhostThis is the content of my child-themes functions.php
<?php /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style'); /* Proper way to enqueue styles and scripts */ function theme_name_scripts() { wp_enqueue_style( 'style-name', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'theme_name_scripts' ); /* Activate Avia debug mode */ add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
Why cant i access the CSS-class i gave to an element?
Kind Regards
BritaJanuary 30, 2018 at 9:15 pm #905133Hey Brita,
Could you please create a temporary admin login and post it here privately so we can look into it?
Best regards,
YigitJanuary 31, 2018 at 11:34 am #905517The answer to your question is already given in my first post.
Please read.
ThanxJanuary 31, 2018 at 6:13 pm #905668Hi,
Sorry but i cannot see private content field in your initial post. Could you please try posting it once again?
Edit: Localhost, must have overlooked. Will replace functions.php file with your on my local installation and will update you here :)Best regards,
Yigit- This reply was modified 6 years, 10 months ago by Yigit.
January 31, 2018 at 7:29 pm #905717Hey!
I replaced functions.php file with yours on a child theme on my local installation and tried adding custom class to elements and they are working fine for me. Attached a screenshot in private content field.
Does that happen on certain elements on your end? Also, could you please try de-activating all active plugins just so we could rule out plugin conflict possibility?
Regards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.