Styling Issues with “How To Block”

#58806
  • Resolved Anonymous
    Rank Math free

    1. When using a numbered list, the first “how-to” number is not aligned properly see https://ibb.co/ngWS2r6 i would also like to increase the number size

    2. The spacing between the previous “how-to” description and the next “how-to” heading is very small, see https://ibb.co/bPG2KV2 how do i increase that using css/

Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You can modify the following code and add it to the custom css fields.

    #rank-math-faq .rank-math-list-item{
    	position:relative;
    }
    #rank-math-faq .rank-math-list-item input{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 41px;
        opacity: 0;
        cursor: pointer;
        z-index:999;
    }
    #rank-math-faq .rank-math-list-item h3 {
        background: #f1f2f6;
        padding: 10px 12px 10px 18px;
        cursor: pointer;
        font-size: 18px !important;
        font-weight: normal !important;
        position:relative;
        margin-bottom: 0;
    }
    #rank-math-faq .rank-math-list-item h3:before {
    	display:inline-block;
    	content: "";
        width: 0;
    	height: 0;
    	border-style: solid;
    	border-width: 6px 0 6px 12px;
    	border-color: transparent transparent transparent #000000;
    	margin-right: 8px;
    }
    #rank-math-faq .rank-math-list-item input:checked+h3:before {
    	-webkit-transform:rotate(90deg);
    	-ms-transform:rotate(90deg);
    	transform:rotate(90deg);
    }
    #rank-math-faq .rank-math-answer{
    	padding: 10px;
    	max-height: 0;
    	overflow:hidden;
    }
    #rank-math-faq .rank-math-list-item input:checked+h3~.rank-math-answer {
    	max-height: 100vh;
    	overflow:visible;
    }

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Styling Issues with “How To Block”’ is closed to new replies.