• Resolved geoffreymarktaylor

    (@geoffreymarktaylor)


    Hi,

    Thanks so much for the great plugin.
    I’m having trouble changing the CSS for the spacer element and background on my page.
    Could you please assist?

    Kind regards

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author markoarula

    (@markoarula)

    Hi,

    try this one for background:

    body.wp-night-mode-on .content-container {
      background: #000000;
    }

    and this one for spacer:

    body.wp-night-mode-on .spacer {
      background: #000000 !important;
    }

    Best regards

    Thread Starter geoffreymarktaylor

    (@geoffreymarktaylor)

    Thanks so much for the speedy reply and the code β€” works perfectly.
    Couldn’t be more appreciative.

    Cheers

    Plugin Author markoarula

    (@markoarula)

    No problem, glad that I could help πŸ™‚

    Best regards

    lsc38

    (@lsc38)

    hi – I thing I have the same problem but with you css code in additional css menu of mesmerize, I have no working result.
    Can you please check it out.
    https://www.21-btc.club/
    thanks and many regards
    Christian

    Plugin Author markoarula

    (@markoarula)

    Hi Christian,

    try to add this CSS code:

    body.wp-night-mode-on .header-homepage.color-overlay * {
      background: transparent;
    }
    
    body.wp-night-mode-on .footer-contact-boxes .footer-content,
    body.wp-night-mode-on .navigation-bar.fixto-fixed {
      background: #000000;
    }
    
    body.wp-night-mode-on .fixto-fixed ul.dropdown-menu>li {
      color: #FFFFFF;
    }
    
    body.wp-night-mode-on .content-section {
      background: #000000 !important;
      border-bottom: 1px solid #DDDDDD;
    }

    Let me know if that was helpful.

    Best regards

    lsc38

    (@lsc38)

    (@markoarula)
    many thanks for you work
    the css works perfect on my front page

    but on the other not like here
    https://www.21-btc.club/blog/

    or https://www.21-btc.club/bitcoin-price-can-reach-400000-usd/

    Regals christian

    Plugin Author markoarula

    (@markoarula)

    Try to replace the above CSS with this one:

    body.wp-night-mode-on .header.color-overlay * {
      background: transparent;
    }
    
    body.wp-night-mode-on .site>.content,
    body.wp-night-mode-on .site>.page-content,
    body.wp-night-mode-on .sidebar .widget,
    body.wp-night-mode-on .navigation-bar.fixto-fixed,
    body.wp-night-mode-on .footer-contact-boxes .footer-content {
      background: #000000;
    }
    
    body.wp-night-mode-on .fixto-fixed ul.dropdown-menu > li {
      color: #FFFFFF;
    }
    
    body.wp-night-mode-on .content-section {
      background: #000000 !important;
      border-bottom: 1px solid #DDDDDD;
    }
    lsc38

    (@lsc38)

    @markoarula

    many thanks for you work
    Now all looks great,
    just a little frame on the site of same pages are still withe.
    Is it possible to solve as well?

    like here
    https://www.21-btc.club/best-bitcoin-resources-opens-in-a-new-tab/

    again many thanks for you great work

    Plugin Author markoarula

    (@markoarula)

    Try with this one:

    body.wp-night-mode-on .mesmerize-inner-page .content {
      background: #000000;
    }

    No problem, glad that I could help πŸ™‚

    Best regards

    lsc38

    (@lsc38)

    @markoarula
    Hmmm thanks for your replay
    but still some small Vertical white stripes on the side of the content.
    here
    https://www.21-btc.club/privacy-policy/
    or here
    https://www.21-btc.club/best-bitcoin-resources-opens-in-a-new-tab/

    many regards
    Christian

    Plugin Author markoarula

    (@markoarula)

    Ah yeah, i made a small mistake, you just need to remove one space.
    Like this:

    body.wp-night-mode-on.mesmerize-inner-page .content {
      background: #000000;
    }
    lsc38

    (@lsc38)

    Now its PERFECT
    Many Thanks for your work. πŸ™‚

    Plugin Author markoarula

    (@markoarula)

    No problem, glad that I could help πŸ™‚

    lsc38

    (@lsc38)

    Thank you
    One more question
    Can I make the night modus in a transparency color over the Frontpage Header (Picture) maybe by 70% black, so you can see the header picture behind.And the overlay with the technical analyses as well?
    http://www.21-btc.club

    many regards
    Christian

    Plugin Author markoarula

    (@markoarula)

    If I understand you well, I think you want something like this:

    body.wp-night-mode-on .header-homepage * {
      background-color: transparent;
      position: relative;
    }
    
    body.wp-night-mode-on .header-homepage:after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(0,0,0,0.5);
    }

    Of course, overlay transparency can be adjusted, just try to change last value in rgba(). For example this will make overlay darker: rgba(0,0,0,0.7)

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Trouble with customizing CSS’ is closed to new replies.