Save
Saving
  • N Nathalie

    @arminunruh said:

    substr(12)

    Perfect Armin! The .substr was exactly what i needed ! You are great as always !
    Thanks

    posted in General Discussion read more
  • N Nathalie

    Hello There,

    The idea is to take the page title, replace some of their element and show it into class div "projectname".

    Currently, i have the — replace by Projet - but i would like to delete the Sitename and not show it into "projectname" div ( but still show it into page title).

    Page title is set like this

    <?php
    $title = get_bloginfo('name');
    if(!is_front_page()){ 
    $title .= ' &mdash; '.trim(wp_title('',false));
    }
    ?>
    

    My script is set like this

    Frontend.GlobalEvents.on("newpage",function(e,l,t){
    if("project"===l){
    var a=document.title.replace("—","<i>Stuff - </i>");
    jQuery("li.projectname").html(a)}
    

    The idea is to take the page title, replace some of their element and show it into class div "projectname".

    Currently, i have the replace by Projet - but i would like to delete the Sitename and not show it into "projectname" div ( but still show it into page title).

    Thanks

    posted in General Discussion read more
  • N Nathalie

    @arminunruh This work fantastically great ! Thanks for your help ! I have edit the script to have the text scramble each time the mouse is moving though body :+1:

    Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj){

    var scramble = jQuery("#scramble").splitText({
        'type':'words',
        'animation':'scramble'
    });
    jQuery("body").on('mouseover', function(){
        scramble.animate();
    });
    
    });

    posted in General Discussion read more
  • N Nathalie

    Second solution has work ! It was inside the menu ! Thanks :)

    posted in General Discussion read more
  • N Nathalie

    Hey Armin, I am working on a new website with your theme. I have a problem which is very weird, but maybe you could help ( my working on mamp, but manage to put the website online very soon is you have no idea of the problem). I am trying to integrated a script, this script is working ONLY BACK_END and not FRONT_END -_- !

    Here are the step :

    1 ) Add script in ** functions.php** on the theme

    wp_enqueue_script( 'tween-vendor-jquery', get_template_directory_uri() .     '/custom/tween/js/vendor/jquery-1.9.1.min.js', array ( 'jquery' ), 1.1, true);
    wp_enqueue_script( 'tween-vendor-tween', get_template_directory_uri() . '/custom/tween/js/vendor/TweenMax.min.js', array ( 'jquery' ), 1.1, true);
    wp_enqueue_script( 'example', get_template_directory_uri() . '/custom/tween/js/example.js', array ( 'jquery' ), 1.1, true);
    wp_enqueue_script( ‘SplitTextPlugin', get_template_directory_uri() . '/custom/tween/js/SplitTextPlugin.js', array ( 'jquery' ), 1.1, true);
    

    2 ) Added var $ =jQuery.noConflict(); to make the $ work without conflict, here is my main script that should make the works scramble and move when the mouse move though body.

    var $ =jQuery.noConflict();
    
    $(document).ready(function(){
    
    var scramble = $("#scramble").splitText({
    'type':'words',
    'animation':'scramble'
    });
    $("body").on('mouseover',function(){
    scramble.animate();  });
    });
    
    1. I add the html code into « code source» of a text block

      <div><p id="scramble" class="splitText">THIS IS A BORING TEXT SCRAMBLE IT!</p></div>

    IT WORKS in the preview but when i update and check front-end NOTHING MOVE.

    **I have try to add the html code directly in header.php and it work front-end, i have try to add it as a « html code » ( click on « more » and « html ») but do not work. **

    posted in General Discussion read more
  • N Nathalie

    Hi ! I am trying to add a link with mailto such as

    	else jQuery("li.project").html("<a href='mailto:me@mymailadress.fr'>Contact</a>")});
    

    But when i click this link, the mail program is not opening, i just have my browser website path updated such as

    http://localhost:8888/website/index/mailto:me@mymailadress.fr

    Maybe i have done something wrong ?

    posted in General Discussion read more
  • N Nathalie

    Hello armin, what you see is exactly what i want.
    The first slide is text and i want a background as you see in the screenshot that i made with row-inner.
    The problem is that if i set a background to row-inner, the background will appear on following slide which i don't want. Also i want to be able to set different color depending of my project. Do you think it's possible ?

    Ps : I can't use your tool when your right click and "set the background" because the background appear all over the slide ( background cover also the menu ).

    posted in Addons read more
  • N Nathalie

    Hi,

    I am using Fullscreen slider vertical and i would like to apply the background only of "row-inner" of my first slide. Right now i am able to add background only of each of my slide, but i don't want the background on my nav menu, just on my slide. Please check the image to have more details.

    I tried to add background on row-inner but it show background on each slide…

    Capture d’écran 2016-09-13 à 21.15.31.png

    posted in Addons read more
  • N Nathalie

    Oh i mean its text inside image that appear blurry ! Not text that i write on the website.
    I have try your option but doesn't make a change. Should i re-upload the image or it should take effect directly ?

    posted in Addons read more
  • N Nathalie

    Hello !
    I would like to know how can we do to have very sharp images for retina display. I have disable the media compression on wordpress but still have a little blur on text. What is the best way to get very sharp image ( that include text ) with fullscreen slider. Currently, i am uploading picture 2x size (72 dpi ) that it should be, but the size of the images will also depends the size on the screen of my visitor.

    Need some advices :)

    posted in Addons read more