Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #714792

    Hey Kriesi Team,
    Could you please take a look at this link please : +

    Okay, we would like to have this menu into one of our pages. We downloaded all the files (download page +) and it is included of css and js.

    My question is, how may we upload all these files into a specific page in order to see a result exactly like the link I have already referred to.

    Regards,
    Sadegh

    #715422

    Hey Sadegh,

    Please refer to this post – http://kriesi.at/documentation/enfold/color-section-with-100-container/ and create a Color Section element with 100% container width and place Code Block element inside it and add your code into that Code Block element. That should help, let us know if it does not :)

    Best regards,
    Yigit

    #715774

    Hi Yigit,
    Thank you for the information.
    However the problem is that the files I already referred to has not only one code page, but it contains some js and css files. I don’t know how may I insert all the codes into 1 code block.

    #715911

    Hi,

    Actually you can add JS, HTML and CSS codes into a single Code Block element however if you would like to add them separately, you can add your custom CSS code into Style.css file of your child theme, Quick CSS field or Custom.css file of your parent theme (however custom.css file will be overwritten when you update the theme).

    And then add following code to Functions.php file in Appearance > Editor

    function my_custom_js_code(){
    ?>
    // YOUR JS CODE HERE 
    <?php
    }
    add_action('wp_footer', 'my_custom_js_code');

    Again, it will be overwritten if you are not using a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/

    And then you can insert your HTML code into Code Block element.

    Best regards,
    Yigit

    #716322

    Hi Yigit,
    Thanks a lot for the given info.
    Regards
    (you may now close the thread please)

    #716478

    Hi,

    You are welcome Sadegh! Let us know if you have any other questions or issues :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘upload custom css’ is closed to new replies.