-
AuthorPosts
-
July 6, 2016 at 9:57 pm #657734
The statements, that I write in style.css from child theme, not work. But it works when I write the same statements in the Quick CSS. Why? I also use !important in the statements.
July 7, 2016 at 12:50 pm #657971Hi MargitW,
I’m not sure, could you provide us with a link to the site in question so that we can take a closer look please?
Thanks,
RikardJuly 7, 2016 at 1:01 pm #657978Here is the Link:
July 9, 2016 at 2:36 am #658654Hi,
Can you please create us a WordPress administrator account? post it here as a private reply. Also paste the code you’re trying to get working.
Regards,
JosueJuly 11, 2016 at 2:20 am #659039Additionally I want to add Custom Classes to Elements. So I included in function.php from child-theme this code:
add_theme_support('avia_template_builder_custom_css');
But that also does’nt work.Why does’nt work the style.css and the function.php in the child theme?July 11, 2016 at 7:36 pm #659514The problem with the functions.php is solved. I have read that you have to copy the content of the functions-enfold.php in the function.php of child theme. Since the turn of the custom css works in the elements.
But the problem remains with the style.css in child theme.July 12, 2016 at 1:57 am #659601I think I’ve found the solution. I’ve entered the statements directly with Notepad in the style.css of child theme on the server. The theme editor under Design -> Editor I found only now. When I write the CSS statements in there, they will be executed. Why this is so, however, I do not understand. Where will save the statements from theme editor? Is the theme editor update-safe? When I open the style.css in child theme on the server, this file is empty.
July 12, 2016 at 3:57 am #659646Hi,
The FTP client you’re using may be the culprit of the issue, probably the edited file never gets uploaded to the server after editing, using the Dashboard editor would be the safest option i think.
Best regards,
JosueJuly 12, 2016 at 2:48 pm #659892Do you know where the CSS statements in Dashboard Editor is stored (or saved?) on the server? Firebug says the file is in the child theme under /style.css?ver=2. But this file I can’t find in my WP installation. And the normal style.css in child theme is empty.
Thank you very much for your help!!!
July 12, 2016 at 6:40 pm #660020Shouldn’t be empty i think, are you seeing that via FTP?
Best regards,
JosueJuly 13, 2016 at 2:09 am #660174The problem is solved. It was my fault. Yet again many thanks and best regards.
MargitJuly 13, 2016 at 1:52 pm #660399 -
AuthorPosts
- The topic ‘style.css in child theme not work’ is closed to new replies.