- This topic has 3 replies, 2 voices, and was last updated 7 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Flat Commerce Pro › CSS for menu and Sub-menu items on Phone
Hello
I would like to change the default colours for the menu and sub-menu items when the web site is displayed on a small tablet or phone. The default colours are darkish red.
Is it possible to give me the “Additional CSS” to change these colours?
Web site is http://www.sarapopeart.com
Thanks
Hello @erniepope,
In order to change the color of the menu bar for responsive view use below given CSS.
For this go to Admin Panel > Appearance > Customize > Additional CSS and paste below given CSS.
@media only screen and (max-width: 768px){
.mean-container .mean-bar {
background-color: #3875d7;
}
}
You can change the hex color code according to your requirement .
Hope this helps .
Let us know if you have any issue further .
Best Regards!!
Thanks, the additional CSS works for the menu bar.
I notice that the sub – menu items seem to be a darker colour of the whatever the colour is for the menu bar. Is it possible to set the colour for the sub-menu items?
Regards
Hello @erniepope,
Nice to know that your previous issue is solved .
Now to change the color of the Sub menu item use below given CSS.
.sub-menu li a {
color: #c7c7c7 !important;
}
You can change the color code according to your requirement.
Hope this helps.
Best Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |