• Resolved jakobpress

    (@jakobpress)


    Hello, I’ve seen that this problem is very common and before I decided to write here I tried all the past suggestions. I use the last plugin version. But nothing helped. When I try to save my custom CSS on my tab element, istantly it get lost. The funny thing is that this happens with some codes. For example it happens when i insert the code
    #tab_container_35 .wpsm_nav-tabs > li > a {font-size: 16px !important; font-family: 'Crimson Text' !important;}
    or again
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(1) a {background-color: #589188 !important;}
    Do you know why this happens?
    Thanks and best regards
    Jakob

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • hi,

    this issue may ause due to confliction with other plugin s try to deactivte it one by one and if it work or not.

    thanks

    Thread Starter jakobpress

    (@jakobpress)

    I’ve tried to disable all the plugins, one by one, that arent the main theme plugins (so not important for the correct function of the whole site) and insert the code, but nothing happened, the problem remains the same.
    Do you have any other suggestion?
    The problem is that not all the codes are rejected, but only some.

    Thank you

    Hi @jakobpress,

    Please go to plugins > plugin editor select tabs responsive and go to template > content.php file go to line number 68 and replace the below code with other code.

    echo wp_unslash( $custom_css );

    to

    echo $custom_css;

    if it works let us know

    thanks

    Thread Starter jakobpress

    (@jakobpress)

    Hello, thank you for the suggestion,
    but this is a thing that I’ve tried when I’ve read the previous other user’s posts and the problem is still here. Maybe I can try with building a new test site in WP and gradually insert all the contents and than see when the thing breaks up.

    Hi @jakobpress,

    Yes, you can try this without any problem.

    Thanks

    Thread Starter jakobpress

    (@jakobpress)

    Hello, I’ve tried to build a new WP site for testing the plugin and I’ve copied the CSS, but the problem remains the same, even if I start from zero. So: no other plugins cause damages, and the problem is surely related to the CSS I’ve copied. The examples are shown in the first message I’ve wrote, now I copy the whole code, so you can tell me if I use some non proper syntax. Thank you.

    
    .txtdsc {position: relative; float: left; max-width:40%; display: inline; color: #ffffff; font-family: Arial; font-size: 14px;}
    .imgdsc {position: relative; float: right; background-color: #fff; padding: 10px; width:55%; display: inline-block;}
    .bottone {
    background-color: #000;
    border: none;
    color: #fff;
    padding: 14px 20px;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    font-size: 12px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    cursor: pointer;
    float: left;}
    .bottone:hover {background-color: #fff; color: #000 !important;}
    
    #tab_container_35 .wpsm_nav-tabs > li > a {font-size: 16px !important; font-family: 'Crimson Text' !important;}
    #tab_container_35 .fa {display: block; font-size: 30px;}
    #tab_container_35 li {width: 11.19%;}
    #tab_container_35 .tab-content {height: inherit; padding: 0px; border: none !important;}
    
    #tab_container_35 .wpsm_nav-tabs > li.active > a, #tab_container_35 .wpsm_nav-tabs > li.active > a:hover, #tab_container_35 .wpsm_nav-tabs > li.active > a:focus,
    #tab_container_35 .wpsm_nav-tabs > li > a,
    #tab_container_35 .wpsm_nav-tabs > li > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li > a:focus
    {border: 0 !important;}
    
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(1) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(2) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(3) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(4) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(5) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(6) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(7) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(8) > a:hover,
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(9) > a:hover
    {background-color: #000000 !important;}
    
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(1) a {background-color: #589188 !important;}
    #tabs_desc_35_1[role="tabpanel"] {padding:20px; overflow: auto; background-color: #589188;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(2) a {background-color: #a39baf !important;}
    #tabs_desc_35_2[role="tabpanel"] {padding:20px; overflow: auto; background-color: #a39baf;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(3) a {background-color: #bb646b !important;}
    #tabs_desc_35_3[role="tabpanel"] {padding:20px; overflow: auto; background-color: #bb646b;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(4) a {background-color: #955f84 !important;}
    #tabs_desc_35_4[role="tabpanel"] {padding:20px; overflow: auto; background-color: #955f84;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(5) a {background-color: #d3a05c !important;}
    #tabs_desc_35_5[role="tabpanel"] {padding:20px; overflow: auto; background-color: #d3a05c;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(6) a {background-color: #607896 !important;}
    #tabs_desc_35_6[role="tabpanel"] {padding:20px; overflow: auto; background-color: #607896;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(7) a {background-color: #c5a496 !important;}
    #tabs_desc_35_7[role="tabpanel"] {padding:20px; overflow: auto; background-color: #c5a496;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(8) a {background-color: #5c8f66 !important;}
    #tabs_desc_35_8[role="tabpanel"] {padding:20px; overflow: auto; background-color: #5c8f66;}
    #tab_container_35 .wpsm_nav-tabs li.active:nth-child(9) a {background-color: #cc5d53 !important;}
    #tabs_desc_35_9[role="tabpanel"] {padding:20px; overflow: auto; background-color: #cc5d53;}
    
    #myTab_35 {padding: 0;}
    
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(1) > a {background-color: #589188 !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(2) > a {background-color: #a39baf !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(3) > a {background-color: #bb646b !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(4) > a {background-color: #955f84 !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(5) > a {background-color: #d3a05c !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(6) > a {background-color: #607896 !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(7) > a {background-color: #c5a496 !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(8) > a {background-color: #5c8f66 !important;}
    #tab_container_35 .wpsm_nav-tabs > li:nth-child(9) > a {background-color: #cc5d53 !important;}
    
    @media screen and (max-width: 1199px){
    #tab_container_35 li {width: 33.333333333% !important; display: inline-block; float: left !important;}
    }
    
    @media screen and (max-width: 768px){
    #tab_container_35 .wpsm_nav-tabs > li {
    float: left !important;
    }
    }
    
    @media screen and (max-width: 479px){
    #myTab_35 {margin-bottom: 0px;}
    #tab_container_35 .fa {margin: 0px; font-size: 20px;}
    #tab_container_35 .wpsm_nav-tabs > li {margin-bottom: 0px !important;}
    #tab_container_35 li {width: 100%;}
    .txtdsc {float: none; max-width: none; display: block;}
    .imgdsc {width: auto; float: none; margin-top: 25px;}
    }

    hi @jakobpress,

    is this resolving your issue.?

    thanks

    Thread Starter jakobpress

    (@jakobpress)

    No, the issue isn’t yet solved.

    Thread Starter jakobpress

    (@jakobpress)

    Hello, I’ve sent to you the WP admin credentials now.
    Tell me if it’s ok, thank you.

    Thread Starter jakobpress

    (@jakobpress)

    I’ve sent to you now.
    Please check if the WP mail isn’t in the spam folder.
    If there are still problems I send to you by mail the credentials.
    Thanks

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @lokeshkalosiya If you keep asking for admin access again at all, of a forum user again, anywhere, you and your accounts will lose access to the forums. I have archived your reply.

    While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.

    If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.

    Thankfully are other ways to get information you need:

    You get the idea.

    We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.

    When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Custom CSS lost when saving tab’ is closed to new replies.