Okay
  Public Ticket #2188929
Update question and post question
Closed

Comments

  • samwell7814690 started the conversation

    Hi,

    Loving your theme and have been a faithful supporter for many many years now. Keep up the awesome work and thankyou.

    (1) I updated the theme to 11.0.1 and noticed that the post pages now all have a weird black bar strip across the bottom of the header images? How do we stop this from happening? See this link. https://gateonedev1.staging.wpengine.com/ghosts-of-toms-past-present-and-future/

    (2) Is it possible to have some blog post pages show a sidebar and other not have a sidebar? I cant currently see a way to achieve this? 

    Thanks
    Damien



  •  8,992
    Tahir replied

    Hey Again,

    1. Try turning off the Lazy Loading Images Option in the Plugin settings and check .

    2. Its only possible with custom css referencing the postid of each post .

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    @media (min-width: 690px) {
        .postid-4532 div#sidebar {
            display:none !important;
        }
        .postid-4532 .post-area.col.span_9 {
            width: 100%;
        }
    }

    Thanks



    ThemeNectar Support Team 

  • samwell7814690 replied

    Hey Tahir,

    (1) Hmm ok, the black bar does seem to be a thing that only appears in the preview window...I see this issue occur across alot of different elements. Not a biggie I guess.

    (2) Ok, this work around is ok but it would be greta in future releases if we could control this on a post by post basis. I noticed that the CSS you provided doesnt account for mobile view where the sidebar still shows?

    Thanks for your help

    cheers
    Damien

  •  8,992
    Tahir replied

    Noted in the Wishlist. 

    Best 


    ThemeNectar Support Team 

  • samwell7814690 replied

    Great thanks. To hide it on mobile would I just add;

    @media only screen and (max-width : 690px) {

  • samwell7814690 replied

    Hi,


    Im also seeing white screen when trying to preview or view any newly added posts.

    See https://gateonedev1.staging.wpengine.com/embedding-a-new-operating-model-in-a-ftse-100-organisations-dna/


    Ive spoken to WPengione and all of the PHP 7.3 settings are correct and updated as per your specs.


    Any idea what could be causing this? they are saying its the theme?


    Thanks

    Damien

  • samwell7814690 replied

    Hi,


    Ive also tried reverting to php 7.2 from php7.3 and im stil seeing the white screen
    Hoping you can provide some insight when next available, thanks.


    Thanks

    Damien

  • samwell7814690 replied

    I think theres something in the code that ive added that is causing this


    /* Hiding sidebar on case study posts*/
    @media (min-width: 690px) {
        .postid-4683, .postid-4623, .postid-4628, .postid-4632, .postid-4635, .postid-4640, .postid-4643, .postid-4647, .postid-4650, .postid-4653, .postid-4656, .postid-4659, .postid-4662, .postid-4665, .postid-466, .postid-4671, div#sidebar {
            display:none !important;
        }
        .postid-4683, .postid-4623, .postid-4628, .postid-4632, .postid-4635, .postid-4640, .postid-4643 .postid-4647, .postid-4650, .postid-4653, .postid-4656, .postid-4659, .postid-4662, .postid-4665, .postid-4668, .postid-4671, .post-area.col.span_9 {
            width: 100%;
        }
    }

    @media (max-width : 690px) {
        .postid-4683, .postid-4623, .postid-4628, .postid-4632, .postid-4635, .postid-4640, .postid-4643, .postid-4647, .postid-4650, .postid-4653, .postid-4656, .postid-4659, .postid-4662, .postid-4665, .postid-4668, .postid-4671 div#sidebar {
            display:none !important;
        }
        .postid-4683, .postid-4623, .postid-4628, .postid-4632, .postid-4635, .postid-4640, .postid-4643, .postid-4647, .postid-4650, .postid-4653, .postid-4656, .postid-4659, .postid-4662, .postid-4665, .postid-4668, .postid-4671 .post-area.col.span_9 {
            width: 100%;
        }
    }

  • samwell7814690 replied

    ive fixed this thanks