CSS Overwritten By Parent Style Sheet

Home Forums Gillion Theme CSS Overwritten By Parent Style Sheet

Home Forums Gillion Theme CSS Overwritten By Parent Style Sheet

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • socalbicyclist
    Participant

    I’m trying to style a custom menu, but the changes are overwritten when I view with Firebug, instead displaying the css for .menu-item from the parent style-sheet. I’ve added !important tags, but no change.

     

    I’ve also tried adding to the child theme style.css, and no change.

     

    Is the child theme properly enqueuing the child style sheet?

     

    Please see attached screenshots.

     

    Thanks!

    Attachments:
    You must be logged in to view attached files.

    Hi @socalbicyclist,

     

    I hope you are well today and thank you for your question.

     

    You are trying to style menu using .aboutmenu CSS selector but i don’t see any element on your site having aboutmenu class.

     

    Instead of aboutmenu selector, please try using .header-standard-position selector to style top header menu.

     

    Best regards,
    Shufflehound team

    socalbicyclist
    Participant

    The class is declared in the Visual Composer element ‘WP Custom Menu’

     

    The menu is located on the page, not the header, as it is a supplemental menu only for our ‘About’ pages. How would I style that specific instance of the menu without affecting the header navigation menu?

     

    Thank you!

    Solution for this topic

    To achieve that you have to increase CSS specificity on your site.

     

    I have done it on your site and now it is working fine as shown in the attached screenshot.

    Attachments:
    You must be logged in to view attached files.

    socalbicyclist
    Participant

    Excellent, thank you!

    You are most welcome here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form