r/csshelp•
bryguy098

Subscribe Button "Cropped" in r/saxophone (Tested at r/bryguy098

For reference, please view r/bryguy098.

I need to move the subscribe button from the bottom right corner (like currently in r/saxophone) to where it usually is placed. But when I change the positioning from fixed to relative, the button appears to be "cropped.."

Here is the CSS referring to the button.

.fancy-toggle-button {
    margin-top: 1px;
}

.fancy-toggle-button .add {
    background: #67ae34;
    border: 1px solid #67ae34;
    transition: 100ms;
}

.fancy-toggle-button .add:hover {
    background: white;
    color: #67ae34;
}

.fancy-toggle-button .remove {
    background: #ff4d4d;
    border: 1px solid #ff4d4d;
    transition: 100ms;
}

.fancy-toggle-button .remove:hover {
    background: white;
    color: #ff4d4d;
}

.fancy-toggle-button .active {
    padding: 0px 9px;
    padding-top: 2px;
    margin-left: -15px;
    position: relative;
    bottom: 15px;
    right: 15px;
    font-size: 0px;
    border-radius: 50px;
}

.fancy-toggle-button .remove:after {
    font-size: 12px;
    content: 'x';
}

.fancy-toggle-button .remove:hover:after {
    font-size: 12px;
    content: 'unsubscribe';
}

.fancy-toggle-button .add:after {
    font-size: 12px;
    content: '+';
}

.fancy-toggle-button .add:hover:after {
    font-size: 12px;
    content: 'subscribe';
}

Posted Oct 23, 2015, 11:37 PM UTC

12
Loading comments…