-
AuthorPosts
-
December 17, 2015 at 10:45 pm #554684
I have tried this code:
#top body .avia-special-heading .avia-seminarHeading h3 {
background-color: green;
line-height: 2.5em;
color: white !important;
padding-left: 2%;}
with the css class being “seminarHeading” but nothing happens. What code should I use in my child theme in the style.css file? I have tried it with and without the h3 tag and neither work.
Thanks,
RonDecember 17, 2015 at 11:13 pm #554696This code
#top .av-special-heading .av-seminarHeading, h3 {
background-color: green;
line-height: 2.5em;
color: white !important;
padding-left: 2%;}
works, except all h3 heading are changed, not just the ones on the pages I specified. How do I make this more page specific so the h3 headings in the footer are not also affected?
Thanks for any suggestions you can provide.December 22, 2015 at 9:08 pm #556729Hey!
Please use your code as following
#top .av-special-heading .av-seminarHeading,#top .av-special-heading .av-seminarHeading h3 { background-color: green; line-height: 2.5em; color: white !important; padding-left: 2%; }
Best regards,
YigitDecember 23, 2015 at 2:52 am #556838Hi Yigit,
Check this page out: http://dev.mannconsultinggroup.com/members/class-materials/
You can see the code does not work. Too much red, no green.Also,
Here is a page for an example. http://dev.mannconsultinggroup.com/world-academy-community/
How would I create a drop shadow for the image?How would I create a background gradient on this page for the red background. Just FYI, I know how to create the gradient code, I just don’t know how to place it in the style.css file. http://dev.mannconsultinggroup.com/
I am still trying to understand how the child style.css code works for enfold.
Thanks,
RonDecember 24, 2015 at 6:57 am #557366Hi Ron,
Maybe I’m missing something here but you are trying to target the h3 in the seminarHeading class, correct? If so try the following CSS:
.seminarHeading h3 { color:green !important; }
Best regards,
RikardDecember 28, 2015 at 7:36 pm #557809Hi Rikard,
Let me give you current info on my quest to debub my child style.css issue.
This is my functions.php file:
<?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.
*/if(isset($avia_config[‘use_child_theme_functions_only’])) return;
add_theme_support(‘avia_template_builder_custom_css’);
I assume this information is correct. If not, please let me know.
My style.css file in in my enfold-child folder.
Here is a perfect example of my issue: This code works in the Quick CSS box
#footer, #footer p, #footer a {
font-size: 12px !important; }
#footer h3 {
font-size: 14px !important; }Same placed in the style.css does nothing. Any ideas on what is happening?
Thanks,
RonDecember 30, 2015 at 5:08 am #558348Hi Ron,
It sounds very much like a caching problem, did you clear your browser cache and reload after? Also please make sure to disable any caching/minify plugins you might have active.
Regards,
RikardDecember 30, 2015 at 6:06 am #558363HI Rikard,
I did clear browser cache and reload and I don’t have any caching/minify plugins. WordPress told me to enqueue with this code
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );}
?>What do you think?
RonDecember 30, 2015 at 6:34 am #558364Rikard,
I tried using the code as suggested by WordPress. That was a flop. It would not load after that so i deleted it. I am surprise I am having such a problem with this.
RonJanuary 2, 2016 at 1:44 pm #558868Hey Ron!
Please hand us a temporary FTP access via private reply.
Cheers!
JosueJanuary 9, 2016 at 5:45 am #562306I sent you the ftp info. Did you get it?
January 9, 2016 at 11:02 am #562403Hm, not seeing it, make sure you put it in Private Content.
Best regards,
JosueJanuary 9, 2016 at 4:30 pm #562447Josue,
Let me know if you get this one.January 18, 2016 at 8:41 pm #567356Hey!
Could you manage to fix it already? A tutorial about Enfold’s child theme: kriesi.at/documentation/enfold/using-a-child-theme/
If you still need help: in which folder (FTP) can we find your WordPress installation? connection is very slow and I can’t find it.Best regards,
AndyJanuary 18, 2016 at 8:44 pm #567359Thanks Andy,
I have the problem solved.
RonJanuary 18, 2016 at 8:50 pm #567361Hey!
glad you could fix it. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Regards,
Andy -
AuthorPosts
- The topic ‘customizing special heading in child css’ is closed to new replies.