Tagged: x
-
AuthorPosts
-
July 13, 2016 at 10:22 pm #1086135
prudhommParticipantHi,
in wordpress there is the shortcode code to display c++ code (or other languages) however to my understanding theme-x redefines it with something definitely not as nice .
Is it actually possible to display c++ code with highlighted keywords automatically ?thanks in advance
C.July 13, 2016 at 10:38 pm #1086146
prudhommParticipantI have used https://tohtml.com/ to generate some html code that I then insert in a Text
here is the url with the c++ code.
http://www.cemosis.fr/feel/I would like to customize the fontsize and the background. How can I do that ?
July 14, 2016 at 3:40 am #1086426
LelyModeratorHi There,
Please check our code shortcode here:http://demo.theme.co/integrity-1/shortcodes/code/
To customize background and font size, please add custom-code on the text element class field. Then add the following CSS on Appearance > Customize > Custom > Edit Global CSS:.custom-code pre { background: red !important; font-size: 12px !important; }Feel free to adjust the values.
Hope this helps.
July 17, 2016 at 1:14 am #1090373
prudhommParticipantthanks a lot !
July 17, 2016 at 3:35 am #1090454
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1086135 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
