Only one CSS code working at a time

  • Unknown's avatar

    Hello so there are two things I am trying to do using CSS customization
    First is decreasing the sidebar width, and I am using this code –

    #primary {
    width: 71.287%;
    }

    #secondary {
    width: 23.762%;
    }

    It works perfectly when I save. But when I try to make another customization which is removing the published date and other meta data from posts, I copy the new code into the CSS space (by removing the older CSS which is the width one)
    The new code is

    .entry-meta .byline, .entry-meta .cat-links { display: none; }
    .entry-meta .posted-on { display: none; }

    Both work, but only one at a time? How to save the old one, keeping the changes, and then using a new CSS. Does it mean I can only have one extra CSS code running at a time?

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    Can you tell us the URL of the site you’re working with?

    Also note that if you have a paid plan that includes access to both live chat and direct email support. You can reach those at any time by clicking the Help icon that appears bottom-right on all the My Sites pages, or else via the direct link at https://wordpress.com/help/contact

  • The topic ‘Only one CSS code working at a time’ is closed to new replies.