Forums

[resolved] Stopping a header repeat (3 posts)

  1. andao
    Member
    Posted 2 years ago #

    Good morning,

    Here's my site:
    http://www.ansenjie.com/our-products/

    I added a bunch of white space in because if I don't, the header repeats itself. If you maximize your browser window, you can likely see the header starting to repeat itself below the footer. Honestly, I wish there was a way I didn't even need this page, but I was told our navbar depends on being able to click navbar links (versus only the dropdowns, which I would prefer)

    Anyway, can anyone tell me what code to edit so I may prevent the header repeats? All the blank white space looks pretty ugly.
    Thank you for your help.

  2. alchymyth
    The Sweeper
    Posted 2 years ago #

    in style.css of your theme, add 'top center no-repeat' to the body style background format:
    it should look like this afterwards:

    body {
    	background: #FFFFFF url(images/bg.gif) top center no-repeat;
    	color: #444444;
    	font-size: 12px;
    	font-family: Tahoma, Verdana, Arial;
    	margin: 0px auto 0px;
    	padding: 0px;
    	}
  3. andao
    Member
    Posted 2 years ago #

    The code ended up being "no-repeat top center;" instead of vice versa, but in either case your info was excellent. Everything is working as planned.

    Thank you sir or madam!

Topic Closed

This topic has been closed to new replies.

About this Topic