Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1820869
Writing code in posts (re-opened)
Closed

Comments

  •  1
    Ronald started the conversation

    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.

  •  2,699
    PenciDesign replied

    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

  •  1
    Ronald replied

    I've already tried adding !important to the CSS code, but it did not solve the issue. 

    Changing background, padding etc. works fine, but for some odd reason color does nothing.

    I've updated to WP 5, newest Soledad and all plugins. The issue can be seen here:
    https://naldy.no/2018/08/27/finn-filer-i-linux-med-kommandolinjen/

  •   Ronald replied privately
  •  2,699
    PenciDesign replied

    Hi,

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

    .syntaxhighlighter code{ color: #fff; }
    

    Best Regards,

    PenciDesign

  •  1
    Ronald replied

    That did the trick.

    Your support is truely awesome.


    Thank you.