This topic has 22 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #58860
     candidlyshanti
    Participant

    Hi, I wanted to add custom css code to my main navigation menu and sidebar but it appears that my child theme is not reflecting the changes. Could there be something wrong with it?

    #58891
     sharmstr
    Moderator

    Either your code is wrong or if you have caching enabled. Check your code or clear the cache.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #58892
     sharmstr
    Moderator

    You can also put it in Theme Options > General > quick css.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59002
     candidlyshanti
    Participant

    Hi, below is the code that I put in both the Child Theme Style.css and the the Quick Css
    Code —–
    .header-color .top-menu li > a, .header-color #top-social li a {
    color: #ffffff !important;
    }
    .social-header {
    background-color: black !important;
    }
    top-bar {
    font-size: 16px;
    }

    #socket .container {
    background-color: black;
    color: #FFFFFF; /* default white color */
    }
    #socket .container {
    float:left;
    padding:15px 0;
    min-width:100%;
    }

    .kleo-main-header {
    height: 175px;
    }

    .navbar-header .logo {
    padding-top: 13px;
    padding-bottom: 25;
    }

    .collapse.navbar-collapse.nav-collapse.pull-right {
    margin-top: 50px;
    max-height: 80px;
    }

    It works when I put it in the quick css but not the the style.css I attempted to add css code to place a border around the navigation menu—->

    .nav-container{
    border:1px solid #e4e4e4;
    border-bottom:5px solid #eaeced;
    /*border-radius:2px;*/
    position:relative;
    height:47px;
    width:auto;
    }

    but it doesn’t work no matter where you put the code. What am I doing wrong?

    #59003
     candidlyshanti
    Participant

    This is what my Child Theme style.css code looks like before I do anything to it:
    /*
    Theme Name: Kleo Child
    Theme URI:
    Description: Child theme for Kleo
    Author: SeventhQueen
    Author URI: http://seventhqueen.com
    Template: kleo
    Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
    License: GNU General Public License
    License URI: license.txt
    */

    /*
    * Please add your custom styles below
    /*

    So as instructed I place the code below where it says “Please add your custom styles below”

    #59067
     sharmstr
    Moderator

    nav-container? The main menu container is .navbar-nav

    Okay, silly question. Do you have the child theme active?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59202
     candidlyshanti
    Participant

    Yes the child theme is active, what would lead you to ask that?

    #59211
     sharmstr
    Moderator

    Because it won’t process any files in /kleo-child/ if you don’t have it active

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59212
     candidlyshanti
    Participant

    Maybe there has been a miscommunication somewhere. I advised that I had the child theme active. I made a few changes in the Quick CSS that worked, but when I attempt to place the codes in the style.css where it advises they do not work.

    #59215
     sharmstr
    Moderator

    I understood. No miscommunication. There have been plenty of people who think they have the child theme active but dont

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59350
     candidlyshanti
    Participant

    Is there a workaround or reason why neither the Quick CSS nor child style.css is taking the custom css codes? Is there a workaround because I am trying to build my blog and this theme is creating complications.

    #59353
     sharmstr
    Moderator

    You said this is the one you can get to work, correct

    “It works when I put it in the quick css but not the the style.css I attempted to add css code to place a border around the navigation menu—->

    .nav-container{
    border:1px solid #e4e4e4;
    border-bottom:5px solid #eaeced;
    /*border-radius:2px;*/
    position:relative;
    height:47px;
    width:auto;
    }
    but it doesn’t work no matter where you put the code. What am I doing wrong?”

    And I responded with “nav-container? The main menu container is .navbar-nav” So, did you try .navbar-nav?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59355
     candidlyshanti
    Participant

    No a previous code worked, not this code. When I changed it to what you stated it did not work. I’m confused at what support actually means for this theme because I see on various posts that adding code to the child theme does not work, but I have yet to see anyone address the issue. Since I am not able to make any changes nor use the theme in the manner that I believed I would be able to I will contact Themeforest for a refund. It makes no sense to have support when no one is addressing or answering the question that tons of people are having issues with.

    #59356
     sharmstr
    Moderator

    Its usually a caching issue as I stated in my first response. I’d be more than happy to take a look. Please provide access.

    I’ve posted almost 5000 responses here. I have yet to see anyone who had issues with using a child theme that wasn’t either a caching issue or plugin conflict.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59358
     candidlyshanti
    Participant

    I have cleared my cache and I don’t have any plugins other than the ones that the theme requires to download yet I cannot add css code to the child style.css file nor will any other code work in the Quick CSS box.

    #59359
     sharmstr
    Moderator

    Again, I’ll be happy to take a look if you give me access.

    Can you clarify what menu you are trying to put the border around. As I stated in my response, the selector I gave you is for the main menu. Did you want it for that or did you want it for the top menu, or perhaps the buddypress profile menu?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59362
     candidlyshanti
    Participant

    I am trying to put it around the main menu, but it doesn’t allow me to. The top menu I’ve already placed a background on it. I’m taking it that this particular theme is not blog/magazine friendly.

    #59363
     sharmstr
    Moderator

    This is specifically for the main menu section.

    COPY CODE
    
    .collapse.navbar-collapse.nav-collapse {
      border: 1px solid #000 !important;
    }
    

    This is for the header which includes the logo and main menu

    COPY CODE
    
    .kleo-main-header.header-normal {
      border: 1px solid #000 !important;
    }
    

    This assumes you are using the default header layout. If you are using a different layout and the above code does not work, please provide a link.

    If you want my assistance figuring out why the styles in your child theme are being ignored, I need admin access.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59364
     candidlyshanti
    Participant

    Are you able to provide a quick guide on how to check, just not comfortable letting someone into my dashboard without knowing how secure this site is.

    #59365
     candidlyshanti
    Participant

    What steps will I need to take?

    This is what my child theme style.css looks like:

    /*
    Theme Name: Kleo Child
    Theme URI:
    Description: Child theme for Kleo
    Author: SeventhQueen
    Author URI: http://seventhqueen.com
    Template: kleo
    Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-menu, featured-images, post-formats, sticky-post, translation-ready
    License: GNU General Public License
    License URI: license.txt
    */

    /*
    * Please add your custom styles below
    /*

    #59367
     sharmstr
    Moderator

    Add the codes below “please add your custom styles below”. This is not kleo specific. You do this with any child theme. The quick css section in theme options serves the same purpose.

    But as you’ve said, you’ve tried adding the code there and it didnt work. So, I’d like to see why. Respond privately with credentials. You can create a temp admin account and delete it when we are done.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59368
     sharmstr
    Moderator

    Its late here. I’ll come back to this in the morning.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59433
     sharmstr
    Moderator

    Where are we at with this? Will you be giving me access?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?