Eelementor Code Highlighter doesn’t display correctly
-
First Question: I tried to add this code to elementor code highlighter:
<link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" />
The code displayed normally while editing and in preview mode. But after it being published the code displays in front end like this only:
/print.css" />
This is the screenshot on preview mode:
https://drive.google.com/file/d/1teMYSdKZ23RIPZcQMP9BKX7wo2Jpx0IF/view?usp=sharingThis is the screenshot from front end:
https://drive.google.com/file/d/1Goru50ibALYG5yw0trZX0TP9knaRqonA/view?usp=sharingSecond Question:
Codes are displayed colorfully in preview mode, but they are displayed only in one color in front end.Preview Mode:
https://drive.google.com/file/d/1Vitq3AwTsZ4Hu2m2mQCNRFRecCH-hqUG/view?usp=sharingFront end:
https://drive.google.com/file/d/1MNg9H7eczcoTwbHxS2tcV72sdeY19vmr/view?usp=sharingI tried to display same code using another theme like twenty twenty one and the codes are diplayed correctly and colorfully, I found this error only in OceanWP for now.
- The topic ‘Eelementor Code Highlighter doesn’t display correctly’ is closed to new replies.