Viewing 2 replies - 1 through 2 (of 2 total)
  • To reposition items, you need to start with:

    .selector {
    position: relative;
    top: 0px;
    left: 0%;
    }

    and then make adjustments. Use ‘-‘ to move up or left from start-position so
    top: -1px moves up, 1px moves down
    left: -1% moves left, 1% moves right
    For width dimensions, using % ensures your responsiveness is maintained.

    So you need to add to your current styling:

    .my-extra-widget {
      background-color: #CCCCCC;
      color: #777777;
      float: right;
      font-size: 10px;
      text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
      position: relative;
      top:  -320px;
    }

    Thread Starter johnnyenglish1970

    (@johnnyenglish1970)

    Thanks a million – that worked a treat!
    J.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Creating Login/Register on Header’ is closed to new replies.