Positioning Logo in Semantic UI

I used a 300 × 53 pixels size logo.png image and used the following code to position the image.

<!DOCTYPE html>
    <meta charset="UTF-8">
    <title>Semantic UI Responsive Menu</title>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.0/dist/semantic.min.css">
        .rubyplus-logo {
            padding-top: 14px;

    <div class="ui stackable massive menu"> 
        <a href="https://www.rubyplus.com">
          <div class="ui small image rubyplus-logo">
            <img src="logo.png">

      <a class="active purple item">Articles</a>
        <a class="item">Snippets</a>
        <a class="item">Screencasts</a>
        <a class="item">Events</a>
        <a class="item">Gigs</a>
        <a class="item">About</a>
        <a class="item">Contact</a>

      <div class="right menu">
        <a class="item">Login</a>
        <a class="item">Subscribe</a>

    <script src="https://code.jquery.com/jquery-3.1.1.min.js"  integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="  crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.0/dist/semantic.min.js"></script> 


The page looks like this:

Semantic UI Logo Positioning

Related Articles

Ace the Technical Interview

  • Easily find the gaps in your knowledge
  • Get customized lessons based on where you are
  • Take consistent action everyday
  • Builtin accountability to keep you on track
  • You will solve bigger problems over time
  • Get the job of your dreams

Take the 30 Day Coding Skills Challenge

Gain confidence to attend the interview

No spam ever. Unsubscribe anytime.