• cityfox

    (@cityfox)


    Hi again,

    I’d like to include custom css to be able to style lists in different ways with classes. I don’t want the custom css to be overrided with the next update of your theme. So I set up and activated a child theme. The code in my custom style sheet works (it contains only one extra class for lists), but the whole site layout is messed up (missing menus, default color settings). It would be great if you could find a solution for that.

    Thanks again for this lovely theme.

    cityfox

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Let’s see a page with the issue so that we can understand why.

    Thread Starter cityfox

    (@cityfox)

    Hi Andrew,

    unfortunately I cannot show you a page because I’m working an on Intranet site for my company that is located on an internal server. You can reproduce the problem if you set up a child theme with a css file that only contains this code:

    ul.ul_clear {
    padding:0 !important;
    margin:0 !important;
    list-style-type:none !important;
    line-height: 200% !important;
    }

    I used “ul_clear” as class for some lists. That works after activating the child theme.

    BUT: This happens also when I activate the child theme:
    1) Main Menu, Top Menu and Footer Menu are gone.
    2) Colors are set to default.
    3) Widgets in the right sidebar are gone (moved to the bottom of the page). Instead in the right sidebare there are the widgets that I put into the section “left” of the page magazine template. Positions of the other widgets used for the page magazine template have changed.
    4) Header logo is gone (replaced by text).
    5) Maybe more problems that I can’t see right now.

    Theme Author tranthethang

    (@colourstheme)

    Hi friend,

    I’ve create a child theme with your custom CSS.
    After active child theme, You must config your site again:
    + upload / select logo
    + assign three custom menu
    + custom color
    + drag & drop widget
    ….

    Best regards,
    Alex Kalh

    Tommy_Mcknight

    (@tommy_mcknight)

    Hi Alex.

    I created child theme for custom css but i cannot make it sucessful with this code below (i wanna change css for main menu):

    #main-menu > li > a {
    font-size: 18px;
    font-weight: 400;
    line-height: 46px;
    text-transform: capitalize;
    color: #333;
    padding-right: 20px;
    }

    Can you help me?

    Thread Starter cityfox

    (@cityfox)

    Hi Alex,

    I configured the site again (didn’t know that I have to) and it works fine again. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘custom css / child theme’ is closed to new replies.