Mario Boarder
asked 9 years ago

Hi, I have a few problems regarding code snippets. First of all, when using your built in code button, I can’t see the box surrounding the code, so it’s very confusing for users to insert code, and if they menage to do that, the first line “Insert your code here” is wrapped within the code as well.  Also, there is no CSS at all for displaying the code, just grey background and black letters.
Secondly, when i try to use syntaxHighlighter evolved, the code that is wrapped inside shortcodes doesn’t display properly. Whole code is in one line and after and </br> is added on places where the new line should start. 
Just to see how the code button works here on your site, I’m gonna insert some css below. I would appreciate any help to make it work on my site.

Start your code here.prie-plan-button a:hover {
color: #d14343;
background-color: #fff;
border: solid 2px #fff;

-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;

text-decoration: none;
}

 

Mario Boarder
replied 9 years ago

Oh.. users needs to delete the first line by them selves..

Powered by DW Question & Answer Pro