WordPress.org

Support

CSS Help

  • cyrjm
    Participant

    @cyrjm

    Ok, so I’m usually pretty good at using the tools in Firefox and Chrome to make CSS changes. Admittedly, I’m a CSS rookie in all respects.

    I’m working on a site where all I’m trying to do is align the bottom of the logo to bottom of the top navigation menu items. Unfortunately, I’m using an “under construction” plugin so I can’t show you the actual page, but here is what I’m trying to edit:

    <!-- Header -->
    		<header id="header" class="container site-header" role="banner">
    
    			<div id="header-inner" class="sixteen columns over">
    
    				<hgroup id="masthead" class="one-third column alpha">
    					<h1 id="site-title" class="site-title"><a href="http://smithcoadventures.com/" title="Smith Co Adventures" rel="home"><img src="http://smithcoadventures.com/wp-content/uploads/2012/10/SmithCo_Logo_Web31.png" class="scale-with-grid" /></a></h1>
    									</hgroup>
    
    media="all"
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    }

    I’m trying to change “baseline” to “bottom” and when I do that in Chrome, it looks the way I want it. My question is, what selector do I use in my child theme?

    I have tried

    #header #img {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: bottom;
    }

    I’ve also tried a bunch of others, I know it’s something super simple that I’m missing. Any advice would be greatly appreciated and worthy of an internetz high five.

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘CSS Help’ is closed to new replies.