Remove or minimize border over 'shared buttons' in Chunk theme

  • Author
    Posts
  • #839601

    3mpulse
    Member

    Is it possible to have widgets on other pages than the front page?

    The blog I need help with is e-mpulse.net.

    #839789

    The Chunk theme is designed to display widgets in the footer area on all pages including the front page and other types of pages.

    The information page about Chunk can be found at http://theme.wordpress.com/themes/chunk/

    #839806

    3mpulse
    Member

    Thanks.

    I have another question. I feel like I’ve ruined my CSS now. I need the menu to be center aligned. My only word in the menu is going to be “OM”, and I want the top and bottom border just big enough to “cover” the word.

    #839825

    To center the menu on your http://e-mpulse.net/ site using the Chunk theme, add this to your Appearance → Custom Design → CSS page:

    #menu {
    width: 100%;
    }

    Or did you want to keep the smaller width and then center that?

    #839826

    For the spacing in the menu, try this to see if it does what you’re looking for:

    #menu {
    padding: 0;
    }
    
    #menu a {
    line-height: 1;
    }
    #839831

    3mpulse
    Member

    Have a look now. Awful :)

    I wan’t the text and the border centered.

    #839856

    I looked and I found that the following CSS block from your Appearance → Custom Design → CSS page is making it so the menu items aren’t floated properly.

    #menu li {
    float:center;
    position:center;
    }

    Remove that from your Appearance → Custom Design → CSS page without changing any of the other CSS and the text and the border should get centered.

    Note that “center” isn’t a valid value for the float or position properties, and so when you added “float: center” that broke the existing rule that was making the menu items line up horizontally.

    If you’re interested, you can check the W3C specs to see which values are allowed for properties like float and position.
    http://www.w3.org/TR/CSS2/visuren.html#float-position
    http://www.w3.org/TR/CSS2/visuren.html#propdef-position

The topic ‘Remove or minimize border over 'shared buttons' in Chunk theme’ is closed to new replies.