This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Center align page content

5 years ago · Last reply by Andrew Misplon 5 years ago

Hi there

I have all settings as I want them to be using SO-CSS. Just one setting I can not find.
It is the setting to center the content of the white part of the pages of my site. That white part contains text, products, etc.

Can you help with the correct css code?

Wie ben ik?

Thanks
Kind regards,
Nico Cordewener

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

6
  1. DIZDNN 5 years, 1 month ago

    There is a second issue
    When I click a navigation button and I stay hovering over that button the buttons stays dark burgundy.
    When I click a navigation button and I leave that button before the page changes, the button becomes dark grey.
    I would like the button to say burgundy, but I can’t find the correct CSS code.

    Can you help?
    Thank you very much,
    Kind regards,
    Nico Cordewener

  2. Andrew Misplon Staff 5 years, 1 month ago

    Hi Nico

    Thanks for reaching out.

    You can try:

    .site-main {
    	margin: 0 auto;
    }

    We can assist with small Custom CSS changes within our premium support scope. Ideally, for items like changing your theme navigation colors, theme support would be in the position to lend a hand. Please, let them know the issue, hopefully, they can assist.

  3. DIZDNN 5 years, 1 month ago

    Hi Andrew
    Thanks, but no result.

    Let’s try again. The two issues on my site are: doodiszodoodnogniet.nl

    1
    The setting to center the content of the white part of the pages of my site. That white part contains text, products, etc.
    2
    There is a second issue
    When I click a navigation button and I stay hovering over that button the buttons stays dark burgundy.
    When I click a navigation button and I leave that button before the page changes, the button becomes dark grey.
    I would like the button to say burgundy, but I can’t find the correct CSS code.

  4. DIZDNN 5 years, 1 month ago

    Hi Andrew
    I was to quick.
    Issue 1 is solved. Issue 2 is still open.
    Tanks,
    Nico

  5. DIZDNN 5 years, 1 month ago

    Hi Andrew

    All pages are centered, exept woocommerce shop (“https://doodiszodoodnogniet.nl/winkel/”)

  6. Andrew Misplon Staff 5 years, 1 month ago

    Hi Nico

    Thanks for your replies.

    Within our free support scope, we can assist with questions linked to how SiteOrigin CSS functions but, unfortunately, on the whole, aren’t able to write snippets on request. We’d love to help but work with limited resources. Within our premium support scope, we have more freedom to assist with small Custom CSS changes. For adjustments to your menu, please, try reaching out to your theme author. They might be able to assist as changing theme color settings is a common request.

    For your shop page you can try:

    .inside-article {
    	margin: 0 auto;
    }

    If you’ve located a block-level element you can center it using margin: 0 auto; as I have above or margin-left auto, margin-right auto. The margin setting is available within the Layout section of the SiteOrigin CSS visual editor.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread