Title: custom css / child theme
Last modified: August 30, 2016

---

# custom css / child theme

 *  [cityfox](https://wordpress.org/support/users/cityfox/)
 * (@cityfox)
 * [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/)
 * 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](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/#post-6306780)
 * Let’s see a page with the issue so that we can understand why.
 *  Thread Starter [cityfox](https://wordpress.org/support/users/cityfox/)
 * (@cityfox)
 * [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/#post-6306937)
 * 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](https://wordpress.org/support/users/colourstheme/)
 * (@colourstheme)
 * [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/#post-6307013)
 * 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](https://wordpress.org/support/users/tommy_mcknight/)
 * (@tommy_mcknight)
 * [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/#post-6307018)
 * 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](https://wordpress.org/support/users/cityfox/)
 * (@cityfox)
 * [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/#post-6307068)
 * 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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/origamiez/4.4.2/screenshot.png)
 * Origamiez
 * [Support Threads](https://wordpress.org/support/theme/origamiez/)
 * [Active Topics](https://wordpress.org/support/theme/origamiez/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/origamiez/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/origamiez/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)

 * 5 replies
 * 4 participants
 * Last reply from: [cityfox](https://wordpress.org/support/users/cityfox/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/custom-css-child-theme/#post-6307068)
 * Status: not resolved