WordPress.org

Forums

JJ NextGen JQuery Slider
Slider in header (3 posts)

  1. andrealansp
    Member
    Posted 2 years ago #

    ola amigos, estou querendo colocar o slider em meu tema no cabeçalho, mas quero que ele fique dentro de uma tag <div> alinhada a direita. Eu tentei colocando este php:

    <? echo "<div style=\"Width:300px; height:220px;Float:Right; Margin-Right:10px;\">" do_shortcode('[jj-ngg-jquery-slider gallery="1" html_id="about-slider" width="200" height="150" center="1"]'); "</div>" ?>

    mas ele não carrega o site !
    Obrigado.

    http://wordpress.org/extend/plugins/jj-nextgen-jquery-slider/

  2. andrealansp
    Member
    Posted 2 years ago #

    hello friends, I am wanting to put the slider on my subject header, but want it to stay within a tag <div> aligned right. I tried putting this php:

    <? echo "<div style=\"Width:300px; height:220px;Float:Right; Margin-Right:10px;\">​​" do_shortcode ('[jj-NGG-jquery-slider gallery = "1" html_id = "about -slider "width =" 200 "height =" 150 "center =" 1 "] ');" </ div> "?>

    but it does not load the site!

    Thank you.

  3. calenlily
    Member
    Posted 2 years ago #

    I've just been dealing with this same issue on a site I'm working on.

    It should work better if you put the php within the div rather than the other way around. You also seem to have a few syntax errors in your code. Try this:

    <div style="Width:300px; height:220px; Float:Right; Margin-Right:10px;"><?php echo do_shortcode ('[jj-ngg-jquery-slider gallery="1" html_id="about-slider" width="200" height="150" center="1"]'); ?></div>

    I hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JJ NextGen JQuery Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic