Okay
  Public Ticket #1603618
white border above secondary manu item when scalled down to ipad
Closed

Comments

  • ArthursVIsuals started the conversation

    hey

    I have changed the background colour of the secondary menu, but now I get a white border on the telephone number when I scale the website down to an Ipad.


    I actually get top border too but I managed to get rid of it with this css:


    #header-secondary-outer nav ul.sf-menu

    { border-top: 0px !important ; }

    (I attached a screenshot of the white border when this css line is out)

    could you help me to get rid of the white border too please?


    thank you


    Arthur

  •  9,006
    Tahir replied

    Hey Again,

    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):

    body[data-header-color="custom"]:not(.material) #header-secondary-outer {
        border-bottom: none !important;
    }

    Thanks


    ThemeNectar Support Team 

  • ArthursVIsuals replied

    hi!

    thank you for your fast reply.


    I applied this css but the border on the right side of the phone number (when scaled from 1000px to 680px) still remains. 


    In the first message I forgot to mention that it is on the RIGHT side of the phone number .


    regards,


    Arthur

  •  3,030
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please try this CSS,

    @media only screen 
      and (min-device-width: 768px) 
      and (max-device-width: 1024px) 
      and (-webkit-min-device-pixel-ratio: 1) {
    #header-secondary-outer nav > ul > li:last-child { border-right:none!important }
    }
    

    Hope this helps,

    Regards

  • ArthursVIsuals replied

    hi!

    its weird, but it is not working. The code you supplied supposed to work, as its grammatically correct.


    any other ideas?


    thanks


    arthur

  •  9,006
    Tahir replied

    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 only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
        #header-secondary-outer nav > ul > li:last-child {
            border-right:none!important
        }
    }

    Thanks


    ThemeNectar Support Team 

  • ArthursVIsuals replied

    thank you!

  •  3,030
    Andrew replied

    Hey there,

    Thanks for reaching in,

    Please be sure to reach in in case you encounter another issue,

    Regards