centering forum icons

  • This should do it:

    Code
    .wbbBoardList .wbbBoard {
    position: relative;
    .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    }
    }

    Alexander Ebert
    Senior Developer WoltLab® GmbH

  • had no effect but the code below did exactly what i wanted but effected the subforums

    Code
    .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    }
  • Code
    .icon32 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    }

    .icon32 did work but is it the correct way ?


    edit: effected all the icons



    Code
    span.icon.icon32.icon-folder-close-alt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    }

    Edited once, last by Sprinter ().