Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #3227156
Random custom_css_code being added.
Closed

Comments

  • Galactig started the conversation

    Whenever I add blocks from the templates I get loads of extra random CSS that looks like this : custom_css_code="JTQwaWQlMjAudmNfcm93LnZjX2lubmVyJTIwJTIwJTNFJTIwLndwYl9jb2x1bW4lMjAlM0UlMjAudmNfY29sdW1uLWlubmVyJTdCJTBBJTIwJTIwJTIwJTIwYmFja2dyb3VuZC1yZXBlYXQteSUzQSUyMG5vLXJlcGVhdCUyMCUyMWltcG9ydGFudCUzQiUwQSUyMCUyMCUyMCUyMGJhY2tncm91bmQtcG9zaXRpb24teCUzQSUyMHJpZ2h0JTIwJTIxaW1wb3J0YW50JTNCJTBBJTdEJTBBLmJhY2t3b3JkJTdCJTBBJTIwJTIwJTIwJTIwcG9zaXRpb24lM0ElMjByZWxhdGl2ZSUzQiUwQSUyMCUyMCUyMCUyMHotaW5kZXglM0ElMjAwJTNCJTBBJTIwJTIwJTIwJTIwYm90dG9tJTNBJTIwOTBweCUzQiUwQSU3RCUwQSU0MG1lZGlhJTI4bWluLXdpZHRoJTNBJTIwMTE5OXB4JTI5JTIwJTdCJTBBJTIwJTIwJTIwJTIwLnRpdGxlLXhsYXJnZSU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGZvbnQtc2l6ZSUzQSUyMDkwcHglM0IlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBsaW5lLWhlaWdodCUzQSUyMDEyMHB4JTNCJTBBJTIwJTIwJTIwJTIwJTdEJTBBJTdEJTBB"

    It's even weirdly attached to the shortcodes : .vc_custom_1585661604055

    Why does that happen? And what's it for? It's really bulking up pages - and seems very random but is clearly there by design.

  •  7,092
    Oliver replied

    Hi,

    To be sure, can you give me link to your site and add screenshot where do you see it? 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Galactig replied

    Sorry Oliver - not possible as it's currently being built in a MAMP environment on localhost. And I'm not keen to put it up on a server with the current weirdness. I've attached a screen grab of one of the pages which I hope helps.

    The page code is clean and as expected if I build one with WPBakery elements, right up until the point that I add one of the template blocks.

    best, d

    Attached files:  code sample.jpg

  •  7,092
    Oliver replied

    Hi,

    Can you check is there anything in the custom CSS filed?

    https://prnt.sc/Q1GQ_qUFYBNF

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Galactig replied

    Well, damn - yes there is, example below. I wonder why it gets converted to weird alphanumerics?

    Thanks for the help!

    @id .vc_row.vc_inner  > .wpb_column > .vc_column-inner{
        background-repeat-y: no-repeat !important;
        background-position-x: right !important;
    }
    .backword{
        position: relative;
        z-index: 0;
        top: 60px;
    }
    @media(min-width: 1199px) {
        .title-xlarge{
            font-size: 90px;
            line-height: 120px;
        }
    }


  •  7,092
    Oliver replied

    Hi,

    This is base 64 coding made to hide quotes (") cuase shortcodes won't work if with additional quotes in body.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  7,092
    Oliver replied

     for example: custom_css_code="background-image: url("URL");" - won't work...

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver