Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

center site

 

Indexhibit version: 2.0
Thread is not resolved.

fjaes68
DENMARK
2 year(s) ago
Permalink Post

does anybody know how to center your site in 2.0, I did try with the code suggestions in the forum, on how to do it in the legacy version. it work with the content part, but not with exhibit format - and the menu stayed to the left also

thanks

arsondpi
GREECE
2 year(s) ago
Permalink Post

post your url address so we can be "of further assistance" (!!!)

fjaes68
DENMARK
2 year(s) ago
Permalink Post

Sorry I forgot, Here it is : formargument.dk

arsondpi
GREECE
2 year(s) ago
Permalink Post

This seems to do the trick:

  1. #index {
  2.     bottom: 0;
  3.     height: auto;
  4.     left: auto;
  5.     margin: auto;
  6.     overflow: auto;
  7.     position: absolute;
  8.     top: 0;
  9.     width: 270px;
  10. }
  11. #exhibit {
  12.     margin: 0 0 0 270px;
  13. }

Note that certain rules are there to override stuff set in base.css - also that the width of #index should be equal to the left margin of #exhibit (so they don't overlap)

fjaes68
DENMARK
2 year(s) ago
Permalink Post

thanks alot arsondpi, that did the trick

fjaes68
DENMARK
2 year(s) ago
Permalink Post

now I'm getting a problem with visual index (i guess), formargument.dk/index.php/test/ when I click on a picture the site jumps back into left align & the text in the menu gets centered. is there a way to configure the visual index or is the problem elsewhere -

fjaes68
DENMARK
2 year(s) ago
Permalink Post

can anybody help please, my site is centered except for the slideshow which is align to the left - I have look allover for a solution, but no luck. so the slideshow has some way of working around the style.css, but how.

formargument.dk/index.php/test/

btw the new indexhibit is great - thanks

vitaminico
ITALY
2 year(s) ago
Permalink Post

hi all! i use the posted code in my own website, nothing change. Still the same position.

uda.robertomarchesini.net/

why?

thank you!

arsondpi
GREECE
2 year(s) ago
Permalink Post

beacuse your site is in a frameset... don't know why did you do this but it is...

farber
UNITED STATES
2 year(s) ago
Permalink Post

Did the same but no changes,
Please advice

arsondpi
GREECE
2 year(s) ago
Permalink Post

can you please post a url address of your site?

farber
UNITED STATES
2 year(s) ago
Permalink Post

rdoeditions.com
Thanks for your valuable time

fjaes68
DENMARK
2 year(s) ago
Permalink Post

in addition to the code from arsondpi, you need to but this wrapper in your style.css, place it under body:

#wrapper {
    width: 960px;
    margin: 0 auto;
    text-align: left;
}

AND in your index.php you put this wrapper div, just under the line that says :

hope it works for you

fjaes68
DENMARK
2 year(s) ago
Permalink Post

sorry for this posting, I cant seem to get the line of code posted:

body class='{{object}} section-{{section_id}} exhibit-{{id}} format-{{format}}'
fjaes68
DENMARK
2 year(s) ago
Permalink Post

here is the wrapper, just put some tags around it < > and place it under ( body class='{{object}} section-{{section_id}} exhibit-{{id}} format-{{format}}' )

div id='wrapper'

arsondpi
GREECE
2 year(s) ago
Permalink Post

Use the <code>...</code> tags to include code in the forum (with no empty lines in between your code...)
:-)

fjaes68
DENMARK
2 year(s) ago
Permalink Post

:) thanks for cleaning up my mess, code tags from now on

farber
UNITED STATES
2 year(s) ago
Permalink Post

Thanks guy
its working except for some sections:
menu stay wrapped in the margin on the left but in some section like publications the content goes far on the right side.

plus on the top of the page there's a strange code showing up

thanks again

fjaes68
DENMARK
2 year(s) ago
Permalink Post

hi faber

  1. in your index.php you are missing a < in front of body class='{{object}} section-{{section_id}} exhibit-{{id}} format-{{format}}'

vitaminico
ITALY
2 year(s) ago
Permalink Post

Sorry for the wrong short link, but it's not the reason.

lnx.studiosantarsiero.it/rob/indexhibit2/index.php/project/

Still not working.

Thank you!

fjaes68
DENMARK
2 year(s) ago
Permalink Post

formargument.dk/index.php/test/

my site is centred using the code in this thread except when in slideshow mode, I click on a picture the site jumps back into left align & the text in the menu gets centered.

Can anybody please help, thank you

kickassdonkey
UNITED KINGDOM
2 year(s) ago
Permalink Post

Hi,

Thanks for the threads guys. It's working great.

Could anyone assist me in getting my pre-nav image centred at the top whilst leaving the sections titles/menu on the left. I'm struggling to figure it out.

Any help would be much appreciated.

Showing 1 - 22 of 22 posts in Forum » Customize » center site
 

This thread has been closed, thank you.