• Resolved freerkie92

    (@freerkie92)


    I want to put some information to the right of the sliderbanner.
    I’ve added the following to the CSS so I would get the space for it.
    But the image and text aren’t in the centre of.

    #slider-banner{
    width:600px;
    }

    The website I’m using is a temporary website, so it doesn’t have a lot of stuff on it yet 😛
    Website:

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter freerkie92

    (@freerkie92)

    Changed the code in Header.php to:

    <section id="slider-banner">
    		<div id="divF1">
    			<?php
    			if(is_home() || is_front_page() ){
    				do_action( 'accesspresslite_bxslider' );
    			}?>
    			</div>
    			<div id="divF2">
    			Lorum Ipsum
    			</div>
    		</section><!-- #slider-banner -->

    And the CSS is:

    #divF1{
    float: left;
    vertical-align: middle;
    width: 75%;
    margin-right: 1%;
    background: #FFFFFF;
    }
    
    #divF2{
    vertical-align: middle;
    }
    
    #slider-banner{
    background-color: white;
    }

    I’m also an idiot for failing to add the website correctly: Here it is

    Thread Starter freerkie92

    (@freerkie92)

    changed .ak-container in CSS which seems to have fixed it.
    It was in pixels and I changed it to 100%

    Thread Starter freerkie92

    (@freerkie92)

    Resolved

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

The topic ‘Header image/text not aligning with section’ is closed to new replies.