The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS RE: Style a Sub Menu Background Colour

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #278468

    Hey guys,

    Trying to get my Sub Menu Drop Down on Mobile to display as #666 on

    Can anyone please help me out.


    @media( max-width:767px ){
        .main-menu ul li ul {
            background-color: #666;

    but applied on the whole menu


    A minimal CodePen demonstrating the problem will attract more helpful responses. Unfortunately, the prospect of delving into a full codebase, and poking about in the developer toolbar, will put lots of people off looking further. CodePen also opens up help from mobile users who are otherwise unable to access the developer toolbar from their device.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.