Skip to content
Public Ticket #5937

Writing code in posts (re-opened)

Conversation thread

Ronald replied

Customer Reply

That did the trick.

Your support is truely awesome.

Thank you.

PenciDesign replied

Staff Reply

Hi,

Please add more this code to Customize > Custom CSS to fixed it:

.syntaxhighlighter code{ color: #fff; }

Best Regards,

PenciDesign

PenciDesign replied

Staff Reply

Hi,

I think you can try with:

\
.syntaxhighlighter {\
    padding: 10px 10px 10px 20px;\
    background: #051E30;\
    color: #fff !important;\
    border: 1px solid #289FF4;\
    border-left-width: 4px;\
}\

If it still doesn't work, let's show me url for this issue to I can help you ( don't rolled back to WordPress 4.9  and let's update your theme to latest version 6.2.1 )

Best Regards,

PenciDesign

Ronald started the conversation

Conversation Start

In a previous ticket I asked you to help me change the appearance of code in posts.

Here's a link to my old ticket:
https://pencidesign.ticksy.com/ticket/1580732/

However, after updating to WordPress 5.0 I'm having problems with the custom CSS you made for me. The text color goes from white to black, even though 'color' is set to #fff.

I have gone back and forth to figure this out. Are you able to lend me a hand, and shed some light on why color: #fff; isn't working any longer, and a possible solution? 

I've rolled back to WordPress 4.9 (with Soledad 6.1) to get the old formatting working again.

Thank you.

Want to join this conversation or access attachments? Sign in first.