link style in list in tab content has padding
-
when using links in a list the style from the template is overwritten by the style of (1) wptabs….min.css .sp-tab__lay-default ul>li>a{text-decoration:none;color:#111} which changes the default color to Black and (2) the style from the tab labels; as these are padded
#sp-tabpro-wrapper_699.sp-tab__lay-default ul > li > label, #sp-tabpro-wrapper_699.sp-tab__lay-default ul > li > a, #sp-tabpro-wrapper_699.sp-tab__lay-default ul .sp-tab__nav-item {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
#sp-tabpro-wrapper_699.sp-tab__lay-default ul > li > label, #sp-tabpro-wrapper_699.sp-tab__lay-default ul > li > a {
cursor: pointer;
border-color: #cccccc;
padding-top: 10px;
padding-right: 15px;
padding-bottom: 0px;
padding-left: 15px;
}`the latter results in all links in lists being Black, and padded. not very sightly. the .min style sheet can be edited in the plugin editor, but the wrapper styles could not be avoided. in the end I went to numbered lists…
- The topic ‘link style in list in tab content has padding’ is closed to new replies.