Viewing 4 replies - 1 through 4 (of 4 total)
  • the div #siteinfo, which contains the linked header image, only has a width of 49%; how can you center something within some container that is narrower than the something itself?

    style.css of the theme:

    #siteinfo {
    	margin: 0px;
    	float: left;
    	height: auto;
    	width: 49%; /*change to 100% */
    	padding-top: 1.5em;
    	padding-right: 0px;
    	padding-bottom: 1.5em;
    	padding-left: 0px;
    }

    Thread Starter gorepit

    (@gorepit)

    Thanks for pointing it out.

    If I change it to 100% will that be okay? I’m terrible with these width things, I usually mess my whole theme up ??

    If I change it to 100% will that be okay?

    i hope so; at least that is the idea.

    changing one line at a time in style.css will not mess up your theme;

    to make the changes effective in your browser, you may need to ‘reload’ the page, or even clear the browser cache by pressing ‘ctrl’ and ‘f5’ at the same time.

    as a precaution, make a backup copy of your working theme before editing
    https://codex.www.ads-software.com/WordPress_Backups

    Thread Starter gorepit

    (@gorepit)

    Thanks it worked ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I cant center the header?’ is closed to new replies.