Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter PierreB.

    (@pierreb-1)

    Looks like it does the trick !

    Thank you (marking the thread as resolved)

    By the way, your comment makes me realize there was an old page (the “news” page) that was lying into the darkness of the blog, i removed it, and i could not find a way to move your comment to the home page.

    Did you have the time to check my answer ? (Just in case : Yes you can add myblog to your network)

    just for the records, the code that fix my issue is :

    #site-logo {
    	margin: 0 auto;
    	margin-bottom: 13px;
    	margin-top: 39px;
    	text-align: center;
    }

    Thread Starter PierreB.

    (@pierreb-1)

    Ok, so i replace my whole ‘#site-logo’ block by the one you provided core-basic, and the result is that only the site slogan is now centered (in regards to the site-title).

    To make thing clearer, what i want is to put the group [“site-title” + “site-description”] at the center of the header.

    Thank for all your support, again.

    Thread Starter PierreB.

    (@pierreb-1)

    Hey core-basic,

    Yeah i just installed my first debain on my laptop 2 weeks ago, and the debian wiki is just perfect so i do not think i can add any value to this, i don’t think i will be adding it to my Linux menu.

    Regarding my issue, does the last piece of code you provided is supposed to fix the fact that the <h1> <center> declaration has a site-wide effect ? (i don’t think so).
    I tried this way (the margin: 0 auto) before posting but it did not work : is it supposed to work by itself ? I mean if it’s alone (without the other statement you offers, you and Andrew) is it supposed to work ?

    Thank you both.

    Thread Starter PierreB.

    (@pierreb-1)

    Thanks you Andrew.

    I did not have any trouble checking the results, my only trouble are in the fact that every <h1> title is affected by the <center> declaration.
    At least that what i can see in my browsers (tried chrome and firefox).

    Do you think that clearing my browser cache would change this behaviour ?

    Thanks again for helping a php newbie (i really have to take the time to learn the basics…)

    Thread Starter PierreB.

    (@pierreb-1)

    Thanks you for being so quick !

    I almost tried to do that (the <h1> rule) before posting, but i thought this would affect every <h1> text, and that what happened when i follow your suggestion core-basic.

    I am sure there is a way to have only the site-title centered, and i am also almost sure i did it the wrong, and that’s why it affect all the site.

    Here is the code i put in my child-theme style.css

    /* Center the main navigation bar text */
    #access ul{margin: 0 auto; width: 669px; }
    
    /* Adjust the Site logo to my taste */
    #site-logo {
    /* The following line can be use to center the site slogan par rapport au site-title*/
    	text-align: left;
            float: left;
    	width: 100%;
            margin-top: 33px;
            margin-bottom: 3px;
    }
    h1 {
      	text-align: center;
    }
    
    #site-title {
            font: 95px 'Gentium Basic', serif;
            line-height:50px;
    }
    #site-title a {
            color: #5f85b0;
    }
    #site-title a img {
            vertical-align: inherit;
    }
    #site-title a span, #site-title a:hover, #site-title a:focus, #site-title a:active {
            color: #7A8FBA;
    }
    #site-description {
             font-size: 16px;
             color: #344465;
    }
Viewing 5 replies - 1 through 5 (of 5 total)