• Resolved antipodesaudio

    (@antipodesaudio)


    I want the accordion style to use my css variables rather than use fixed values, because my website is available in light mode and dark mode.

    It seems this may be possible using the CSS panel. Where is the documentation of the items that determine colors and font styles?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter antipodesaudio

    (@antipodesaudio)

    For example, if I put this in the css panel, to set color and background to my site variables, nothing changes

    #wpsm_accordion_11762 .wpsm_panel-default > .wpsm_panel-heading {
        color: var(--nv-text-color) !important;
        background-color: var(--nv-site-bg) !important;
        border-color:  var(--nv-site-bg) !important;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    So I presume I need to modify the above somehow. How?

    Thread Starter antipodesaudio

    (@antipodesaudio)

    ok, worked it out thanks, just needed to dig a bit deeper

    in case anyone is interested in this issue here is the css you can enter for the entire look

    #wpsm_accordion_11749 .wpsm_panel-heading{
    	padding:0px !important;
    }
    #wpsm_accordion_11749 .wpsm_panel-title {
    	margin:0px !important; 
    	text-transform:none !important;
    	line-height: 1 !important;
    }
    #wpsm_accordion_11749 .wpsm_panel-title a{
    	text-decoration:none;
    	overflow:hidden;
    	display:block;
    	padding:0px;
    	font-size: 18px !important;
    	font-family: Verdana !important;
    	color:var(--nv-text-color) !important;
    	border-bottom:0px !important;
    }
    #wpsm_accordion_11749 .wpsm_panel-title a:focus {
    outline: 0px !important;
    }
    
    #wpsm_accordion_11749 .wpsm_panel-title a:hover, #wpsm_accordion_11762 .wpsm_panel-title a:focus {
    	color:var(--nv-text-color) !important;
    }
    #wpsm_accordion_11749 .acc-a{
    	color: var(--nv-text-color) !important;
    	background-color:var(--nv-site-bg) !important;
    	border-color: var(--nv-site-bg);
    }
    #wpsm_accordion_11749 .wpsm_panel-default > .wpsm_panel-heading{
    	color: var(--nv-text-color) !important;
    	background-color: var(--nv-site-bg) !important;
    	border-color: var(--nv-site-bg) !important;
    	border-top-left-radius: 0px;
    	border-top-right-radius: 0px;
    }
    #wpsm_accordion_11749 .wpsm_panel-default {
    	border:1px solid transparent !important;
    }
    #wpsm_accordion_11749 {
    	margin-bottom: 20px;
    	overflow: hidden;
    	float: none;
    	width: 100%;
    	display: block;
    }
    #wpsm_accordion_11749 .ac_title_class{
    	display: block;
    	padding-top: 12px;
    	padding-bottom: 12px;
    	padding-left: 15px;
    	padding-right: 15px;
    }
    #wpsm_accordion_11749  .wpsm_panel {
    	overflow:hidden;
    	-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
    	box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
    	border-radius: 4px;
    }
    #wpsm_accordion_11749  .wpsm_panel + .wpsm_panel {
    	margin-top: 5px;
    }
    #wpsm_accordion_11749  .wpsm_panel-body{
    	background-color:var(--nv-site-bg) !important;
    	color:var(--nv-text-color) !important;
    	border-top-color: var(--nv-site-bg) !important;
    	font-size:16px !important;
    	font-family: Verdana !important;
    	overflow: hidden;
    	border: 2px solid transparent !important;
    }
    
    #wpsm_accordion_11749 .ac_open_cl_icon{
    	background-color:var(--nv-site-bg) !important;
    	color: var(--nv-text-color) !important;
    	float:left !important;
    	padding-top: 12px !important;
    	padding-bottom: 12px !important;
    	line-height: 1.0 !important;
    	padding-left: 15px !important;
    	padding-right: 15px !important;
    	display: inline-block !important;
    }
    
    #wpsm_accordion_11749  .wpsm_panel-body{
    	background-color:var(--nv-site-bg) !important;
    	color:var(--nv-text-color) !important;
    	border-top-color: var(--nv-site-bg) !important;
    	font-size:16px !important;
    	font-family: Verdana !important;
    	overflow: hidden;
    	border: 2px solid transparent !important;
    }
    #wpsm_accordion_11749 .ac_title_class {
        display: block;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 15px;
        padding-right: 15px;
        background-color: var(--nv-site-bg) !important;
    }
    .wpsm_panel {
        background-color: var(--nv-site-bg) !important; 
        border: 0px solid transparent;
        border-radius: 0px;
        -webkit-box-shadow: 0 0px 0px rgb(0 0 0 / 5%);
        box-shadow: 0 0px 0px rgb(0 0 0 / 5%);
    }
    #wpsm_accordion_11749 .wpsm_panel-default {
        border: 4px solid transparent !important;

    hi @antipodesaudio ,

    glad that its been resolved..please rate our plugin.

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘css documentation’ is closed to new replies.