2017-05-29 107 views
0

我想把一個標誌和導航欄頂部革命滑塊jquery,我想使用引導與漢堡菜單對齊到右側的導航欄。我怎麼能把一個標誌和導航欄浮動在revslider jquery頂部

我把這個,但犯規放映的幻燈片

HTML:

<div class="tp-banner-container"> 

    <div class="tp-banner" > 
     <div class="logo"></div> 
     <ul> <!-- SLIDE --> 
     .... 

CSS:

.logo{ 
    background: url('../images/logo-jf.png'); 
    width: 307px; 
    height: 114px; 
    position: absolute; 
    z-index: 20; 
} 

回答

0

可以使用prepend功能。

$('.tp-banner-container').prepend('<p>content goes here</p>');

+0

我想把標誌和導航浮在滑塊的頂部..當我把.TP橫幅類中,它沒有顯示滑塊 – Leoh

+0

你能提供一個[小提琴](HTTPS ://jsfiddle.net/)? – Lasithds

+0

這是一個例子:https://revolution.themepunch.com/jquery-cover-page/我想要一些類似浮動在滑塊頂部的徽標和導航條 – Leoh