• Resolved Kingbyro

    (@kingbyro)


    Hello,

    Firstly like to mention how easy the theme is to use, and how smooth and professional it can look.

    My only small problem is I’ve changed the colour scheme and the only place I can’t seem to change is in the drop down menu

    I’ve changed the colour but there seems to be blue border or sub background which I can’t seem to change

    My site is http://www.apriltrowbeauty.com

    I’ve looked at the other sub menu background thread but this doesn’t seem to work for me unless I’m doing it all wrong

    Thanks in advance

    Ryan

Viewing 15 replies - 16 through 30 (of 30 total)
  • Theme Author Styled Themes

    (@gejay)

    I take it works then…cool. I would say this is worth 100 star rating, less 50 stars for my goof up, lol.

    Anyway, the mobile “menu” button is coded to be centered. But if you don’t want it centered, you will have to add some custom css like this to your style.css file (preferably using a child theme for modifications)

    `@media (min-width: 320px) and (max-width: 599px) {
    .main-navigation {
    text-align:left;
    }
    }

    Thread Starter Kingbyro

    (@kingbyro)

    Ha, at least it’s all sorted now and hopefully others can benefit from this thread too.

    Again, many thanks

    Regards

    Ryan

    Hello, so I have read through this thread several times and I’m still not understanding how to change the color of the menu button on mobile. I opened menu.css for my child theme, but css is still confusing to me. Where do I find the section that changes mobile menu colors?
    Thanks,
    Melissa

    Preference Lite vs 1.7.2

    Theme Author Styled Themes

    (@gejay)

    Hi Melissa…everything in the menu.css file that starts with

    .menu-toggle

    That complete group of styling does the toggle button on the mobile view. It uses a gradient colour (hence all that code), but you can change it to just be a background colour only.

    Basically you can do this in your child theme to start with the button itself:

    .menu-toggle {
       color: #fff;
       background-color: #e6e6e6;
    }
    .menu-toggle:hover {
       color: #fff;
       background-color: #618b9b;
    }
    .menu-toggle:active,
    .menu-toggle.toggled-on {
       color: #fff;
       background-color: #618b9b;
    }

    Then for the other colours, text part, etc. In the menu.css near the bottom, these colours are done from this point on:

    @media (min-width: 320px) and (max-width: 599px) {

    ….just look for the parts that have the colours.

    Pulling my hair out… I feel like such a newb! Maybe I have the menu css in the wrong place. Do I add this in the child directory in the style.css, or do I put a copy of the menu.css into my child directory?
    First I tried copying the css folder from the original theme into my child directory, then change colors in the menu.css. That didn’t do anything, so I took that folder back out, and tried adding the code you just gave me to the style.css in my child theme under “Add your menu.css changes here”
    that didn’t work either, so deleted that.
    I would just leave it and say forget it, but that blue button doesn’t go with my pink and green colors lol.
    I was going to use colorzilla.com to make it gradient, but at the moment I’d be happy just to have this pink color #d6194f

    Thank you so much for your help! I really love this theme and how easy it is to use.

    Theme Author Styled Themes

    (@gejay)

    Being as you are using a child theme, you would open your style.css (of the child theme) and look for this:

    /* Add your menu.css changes here
    ————————————————————– */
    Put styles here

    Any thing you want to modify from the menu.css of the parent theme, you copy the code over and put it below that (where I typed “put styles here”). So for example, if I take the code I pasted in the previous reply, your style.css would look like this:

    /* Add your menu.css changes here
    --------------------------------------------------------- */
    .menu-toggle {
       color: #fff;
       background-color: #d6194f;
    }
    .menu-toggle:hover {
       color: #fff;
       background-color: #d6194f;
    }
    .menu-toggle:active,
    .menu-toggle.toggled-on {
       color: #fff;
       background-color: #d6194f;
    }

    The important part is to make sure the correct placement. If you put your code where it says “Add your menu.css changes here” then it won’t work because that is part of a comment because anything between /* and */ means it’s just a comment (long story).

    I didn’t make the style.css very clear, so I take the blame for that and will fix that for the next update to the theme.

    Anyway, the above css I gave an example for is to show where it would go. Any other styles you want to modify for the menu, you would just add below that group of code.

    It’s a bit of a learning curve, but once you get used to it, you will be able to do this without any effort πŸ™‚

    Ok, opened /www/wp-content/themes/preference-lite-child and opened style.css. I added code you gave me, and then changed each of the background-color numbers. Saved and uploaded it and seems to be exactly the same. So I got desperate and changed every color in the code above… still didn’t change anything. I have a feeling that whatever I’m doing wrong is something incredibly simple and stupid! haha

    Mmmkay, this is a bit strange. I cleared the cache on my phone again, and went to my website. The menu button is still blue, but the text on the button is pink.

    Theme Author Styled Themes

    (@gejay)

    I’m just about to setup a local test site and try this out…but I have a quick question…did you create a menu or using just the default WP menu that displays pages?

    Also, were you wanting the submenu background pink and the text white?

    Theme Author Styled Themes

    (@gejay)

    Quick follow up… I seriously need a vacation. The reason why things are not changing is because I added colour styles but did not add them to the theme customizer. I’m also discovering a few things I can make adjustments too as well.

    what I will have to do here is get on a new update for PReference Lite today and fix this for you so you (and others) can change the colours on their menu and mobile menu too. I will probably import what I did on the Pro version of Preference and use it for the Lite version.

    So not to fear, not your fault…it’s mine. So I will go get a big coffee and jump back on the computer here and have this done by the end of the day (night).

    I created a menu in wordpress if that is what you mean?
    Updating Preference Lite for me (lol)? You are awesome! Enjoy that coffee, and take a vacation soon πŸ™‚
    Btw, I rated the theme today too.

    Theme Author Styled Themes

    (@gejay)

    lol… thanks for the review and stars, despite the menu colour issue. Anyway, time for coffee (this one is going to require a Venti size Mocha) and then to the theme update!

    Theme Author Styled Themes

    (@gejay)

    OK maidenlissa….version 1.7.4 of Preference Lite is done. I also did a small update to the Child Theme’s style.css to make it more clear where css code goes. For the toggle button on mobile, your override styling in the child theme will be this:

    .menu-toggle {
       color: #fff;
       background:none;
       background-color: #c48cb6;
    }
    .menu-toggle:hover {
       color: #fff;
       background:none;
       background-color: #ac399a;
    }
    .menu-toggle:active,
    .menu-toggle.toggled-on {
       color: #fff;
       background:none;
       background-color: #ac399a;
    }

    ….of course you can change the colours. But as for the updated theme, you can wait for the WordPress review team approves it or you can contact me from my site and I will send you the new version.

    You are awesome! I don’t want to wait!!!! haha. I sent you a message through the contact page on your site.
    Thanks πŸ™‚

    Theme Author Styled Themes

    (@gejay)

    Got it… theme is emailed. I would recommend you also read the changelog.txt file that comes with the theme so you know what things were changed.

Viewing 15 replies - 16 through 30 (of 30 total)

The topic ‘Sub-menu border??’ is closed to new replies.