Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #417190

    Hi,

    I’ve trying to hide the image background on certain pages on mobile and tablet devices, following instructions here but it’s hiding all the content. I’ve noticed that custom css on the colour section seems to apply to all of it, so if you add a selector to the section background tab, it applies it to section layout too and so hiding the content. Any ideas?

    • This topic was modified 9 years, 8 months ago by Global_UK.
    #417199

    Hey Global_UK!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed

    @media only screen and (max-width: 768px) {
    .page-id-805 div#full_slider_1 {
      display: none;
    }}

    Cheers!
    Yigit

    #417308

    Hi,

    I’m not sure if this is quite right – we’ve got the coloured bubble backgrounds on lots of different pages so we need something that can be switched off globally, rather than at individual page level.

    #417320

    Hi!

    Please give your color section elements a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png
    and change the code to following one

    @media only screen and (max-width: 768px) {
    #your-custom-id {
      display: none;
    }}

    Best regards,
    Yigit

    #417673

    Ok…looks like the problem is that I don’t have the section ID field for the color section. It’s on section layout but not where I need it. What do I need to add that to that section so it’s there?

    #417836

    Hey!

    “For Developers: Section ID” field should be at the bottom of Color Section options – http://i.imgur.com/4SFRF7O.png
    If you cannot find it, please create a temporary admin login and post it here privately so we can look into it

    Best regards,
    Yigit

    #419250
    This reply has been marked as private.
    #419377

    Hey!

    I just logged in to your website and i can see the field – http://i.imgur.com/XvCoNsS.png?1 :)

    Regards,
    Yigit

    #419563

    Yeah, but then it hides everything within that colour section – I want to be able to just hide the image background with the rest of the content visible.

    #420183

    Hi!

    Replace the code with this:

    @media only screen and (max-width: 768px) {
    #bubbles {
      background: none !important;
    }}

    Regards,
    Ismael

    #420311

    Hi, that doesn’t work either – the bubble background still shows?

    #420381

    Hey!

    Please flush browser cache and refresh your page a few times. I can see that Ismael’s code is being applied and bubble background is not showing up

    Best regards,
    Yigit

    #421020

    Hi, can you post a screenshot of what you see as I’ve done that and still seeing the bubble background.

    #421200

    Hey!

    Please firstly remove following code from Quick CSS

    @media only screen and (max-width: 768px) { 
    #bubbles {
      display: none;
    }}

    Here are screenshots – http://imgur.com/a/m8hOY

    Cheers!
    Yigit

    #421237

    Hi, that link isn’t working for me – can you post it again?

    #421243

    Hi!

    Link is the same – http://imgur.com/a/m8hOY
    Is imgur.com blocked on your network?

    Cheers!
    Yigit

    #421261

    That’s strange, works now – maybe it was just being slow. Ok that code has been removed from quick css.

    #421266

    Hi!

    Great! Let us know if you have any other questions or issues :)

    Cheers!
    Yigit

    #421277

    No – I’ve removed that code but the bubble background is still showing.

    #421287

    Hey!

    Do you mean full slider at the top of the page? If so, you should use following code

    @media only screen and (max-width: 768px) {
    .page-id-805 #full_slider_1 {
      display: none;
    }}

    Cheers!
    Yigit

    #421290

    No, the coloured bubbles on the background – everything so far that I’ve tried has not worked.

    #422043

    Hi!

    Please flush cache on your devices and check your website now. This is how it looks on my end – http://imgur.com/a/GFx49
    I changed “display:none;” to “background:none;” in the code here – https://kriesi.at/support/topic/hiding-image-background/#post-421200

    Best regards,
    Yigit

Viewing 22 posts - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.