-
AuthorPosts
-
April 12, 2018 at 12:14 pm #940881
In which file/files all theme css and scripts are included? I don’t find it into header.php please help me on this.
April 13, 2018 at 3:57 am #941230Hey rkundu065,
You can find most of the CSS and JS in
enfold\css
enfold\jsIf you need further help please feel free to let us know what exactly you are trying to find so we can help you better :)
Best regards,
VinayApril 13, 2018 at 10:17 am #941381Vinay,
That’s not what I was asking.
For example: Let’s say I’ve a css file /enfold/css/layout.css
So generally I call/include css(such as layout.css), js file into header.php but here can’t really find from where these css, js files has been called/included.
Can you please help me with this asap please?
Thanks
April 14, 2018 at 4:56 am #941793Hi,
Thanks for the clarification. They are added in functions.php starting on line 350.
Best regards,
RikardApril 23, 2018 at 10:09 pm #945576This reply has been marked as private.April 25, 2018 at 10:41 pm #946891Hi,
Yes, and you will not be able to fix those.
The errors are basically because of the buioder usages and the multiporpuse functionality.
There are not a lot we can do to get those short out – but you should also not worry.Best regards,
BasilisApril 25, 2018 at 11:03 pm #946912Trust me this is the worst ever reply received from a theme support.
April 27, 2018 at 1:55 pm #947942Hi,
We are very sorry for the confusion. Most of the reports are related to the “type” attribute of the script tag which is seen as unnecessary by the validator but do note that these warnings are also not harmful or critical. If you want to satisfy the validator, use this filter to remove the “type” attribute.
add_filter('script_loader_tag', 'avf_clean_script_tag'); function avf_clean_script_tag($input) { $input = str_replace("type='text/javascript' ", '', $input); return str_replace("'", '"', $input); }Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
