• Resolved MRM-Racing

    (@mrm-racing)


    I am almost in progress of a release of the homepage with a lot of customizations on this fantastic theme.

    I have a small images I would like to use instead of the Title & text on the slider.

    Any ideas?

    Thx
    Robert

Viewing 8 replies - 1 through 8 (of 8 total)
  • Link to site?

    Thread Starter MRM-Racing

    (@mrm-racing)

    Thx, the page is not open until late this week.

    But instead of writing a text on the slider (Title + text) I want a small picture instead in that shaded area.

    All I can say right now.

    I can try to get a picture to show what I am trying to do.

    /Robert

    How many slides, and is there a different image for each slide?

    Thread Starter MRM-Racing

    (@mrm-racing)

    We are waiting for the slides pictures since they are 1800 px * 1300 px.

    Are expecting 4-6 main slide pictures.

    It is a huge slide on frontage, it can me the same picture (her handwriting) on all slides but I would prefer to have a different picture (color) if the main slide is dark or light.

    Thread Starter MRM-Racing

    (@mrm-racing)

    Thx, it works just out-the -box.

    Marked as solved ??

    Used this in function;

    add_filter('tc_slider_display', 'do_my_shortcode');
    function do_my_shortcode($html){
        return do_shortcode(html_entity_decode($html));
    }
    add_shortcode('htmlify', 'do_html');
    function do_html($attr, $content){
        return str_replace(array('{','}'), array('<','>'), $content);
    }

    And this in slider description;
    [htmlify]{/p}{img class="my__img_class"}{img src="https://www.xxxxxx/wp/wp-content/uploads/xxxx.png"}{p}[/htmlify]

    Will only add some css to switch to a small picture on small resolutions.

    many thank′s

    Robert

    Thread Starter MRM-Racing

    (@mrm-racing)

    Ahh forgot the solved…

    Thanks to d4z_c0nf who invented it ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Image instead of text in Slider Title/Text’ is closed to new replies.