Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


menu with svg filter_list
Author
Message
menu with svg #1
i want to create a horizontal menu with svg icon on the top of text

something like
Code:
[home icon svg]      [second icon]
        Home                 second page

i have SVG code ..
but i am not able to write a css for this..

Reply

RE: menu with svg #2
If you're ok with using bootstrap:

Code:
<div class="container-fluid">
   <nav class="navbar navbar-default">
       <div class="container">
           <div class="navbar-header">
             <a class="navbar-brand" href="#">Site name</a>
           </div>
           <ul class="nav navbar-nav">
               <li>
                   <svg></svg>
                   <a href="#">Home</a>
               </li>
               <li>
                   <svg></svg>
                   <a href="#">Second page</a>
               </li>
           </ul>
       </div>
   </nav>
</div>
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

[+] 1 user Likes Inori's post
Reply

RE: menu with svg #3
(03-21-2017, 01:19 AM)Inori Wrote: If you're ok with using bootstrap:

Code:
<div class="container-fluid">
   <nav class="navbar navbar-default">
       <div class="container">
           <div class="navbar-header">
             <a class="navbar-brand" href="#">Site name</a>
           </div>
           <ul class="nav navbar-nav">
               <li>
                   <svg></svg>
                   <a href="#">Home</a>
               </li>
               <li>
                   <svg></svg>
                   <a href="#">Second page</a>
               </li>
           </ul>
       </div>
   </nav>
</div>

its not what i am looking for
this is giving me
Code:
{SCG} Home
menu like we are using here on sinister.ly..

but i want SVG and below it its text

[SVG home icon]
home


thanks anyway Smile

Reply

RE: menu with svg #4
(03-21-2017, 03:27 PM)prudruhuph Wrote:
(03-21-2017, 01:19 AM)Inori Wrote: If you're ok with using bootstrap:

Code:
<div class="container-fluid">
   <nav class="navbar navbar-default">
       <div class="container">
           <div class="navbar-header">
             <a class="navbar-brand" href="#">Site name</a>
           </div>
           <ul class="nav navbar-nav">
               <li>
                   <svg></svg>
                   <a href="#">Home</a>
               </li>
               <li>
                   <svg></svg>
                   <a href="#">Second page</a>
               </li>
           </ul>
       </div>
   </nav>
</div>

its not what i am looking for
this is giving me
Code:
{SCG} Home
menu like we are using here on sinister.ly..

but i want SVG and below it its text

[SVG home icon]
    home


thanks anyway Smile

You need to actually load jQuery and Bootstrap for this to work. It's CSS, not magic.
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

[+] 1 user Likes Inori's post
Reply

RE: menu with svg #5
(03-21-2017, 03:33 PM)Inori Wrote:
(03-21-2017, 03:27 PM)prudruhuph Wrote:
(03-21-2017, 01:19 AM)Inori Wrote: If you're ok with using bootstrap:

Code:
<div class="container-fluid">
   <nav class="navbar navbar-default">
       <div class="container">
           <div class="navbar-header">
             <a class="navbar-brand" href="#">Site name</a>
           </div>
           <ul class="nav navbar-nav">
               <li>
                   <svg></svg>
                   <a href="#">Home</a>
               </li>
               <li>
                   <svg></svg>
                   <a href="#">Second page</a>
               </li>
           </ul>
       </div>
   </nav>
</div>

its not what i am looking for
this is giving me
Code:
{SCG} Home
menu like we are using here on sinister.ly..

but i want SVG and below it its text

[SVG home icon]
    home


thanks anyway Smile

You need to actually load jQuery and Bootstrap for this to work. It's CSS, not magic.


LOL
i no longer need it Smile
thanks anyway..

Reply







Users browsing this thread: 1 Guest(s)