Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

How to center Index in the middle of a page

 

Indexhibit version: 2.0
Thread is not resolved.

plocploc
FRANCE
12 month(s) ago
Permalink Post

Hello

I'm trying some changes on my website.

I'd like to put my index (sections) in the middle of a page...

I put some /br in the pre and post nav areas... But of course when it's on a different screens it doesn't work anymore...

Is there a way to put some clean parameter to center the index ?

Thanks

arsondpi
GREECE
12 month(s) ago
Permalink Post

Hmmm you may need to do some further adjusting in your index.php.
For example you may need to wrap your < plugin:index:load_index / > in a div - just search the internet using keywords "center a div vertically" and I think you'll see what I mean
;-)

plocploc
FRANCE
12 month(s) ago
Permalink Post

Hmmmmm indeed

Maybe too hard for me

I'll try that
    function load_index()

But I got that
syntax error, unexpected '

plocploc
FRANCE
12 month(s) ago
Permalink Post

Sorry my previous is not complete

I'll try that :
div class = "index">
    function load_index()

But I got that :
syntax error, unexpected '

plocploc
FRANCE
12 month(s) ago
Permalink Post

Sorry my previous is not complete

I'll try that :
div class = "index">
    function load_index()

But I got that :
syntax error, unexpected

plocploc
FRANCE
12 month(s) ago
Permalink Post

Something wrong

Sorry my previous is not complete

I'll try that :
div class = "index">
    function load_index()

But I got that :
syntax error, unexpected '
plocploc
FRANCE
12 month(s) ago
Permalink Post

Something wrong

Sorry my previous is not complete

I'll try that :
div class = "index">
    function load_index()

But I got that :
syntax error, unexpected (cabalistic sign) expecting T_FUNCTION

I'll try to dig that deep...
If someone could give me a clue, that would be very appreciated

Thanks for your answer, arsondpi

arsondpi
GREECE
12 month(s) ago
Permalink Post

* when trying to write code use code tags like this:

Text

<code>code here</code>

more text here. Include the paragraph spaces before and after the code tags.

plocploc
FRANCE
12 month(s) ago
Permalink Post

Sorry

So to wrap my index into a div

  1. I tried
  2. div class = "index">
  3.     function load_index()

But I had an error

  1. syntax error, unexpected <expecting T_FUNCTION()
  2. I'll try to dig that deep...
  3. If someone could give me a clue, that would be very appreciated
arsondpi
GREECE
12 month(s) ago
Permalink Post

I didn't suggest that - if you want to wrap the < plugin:index:load_index / > in a div do it like:

  1. <div id='index_wrapper'><plugin:index:load_index /></div>

plocploc
FRANCE
12 month(s) ago
Permalink Post

I can't find
< plugin:index:load_index / >
in the index.php file ???

Hmmmmm

arsondpi
GREECE
12 month(s) ago
Permalink Post

I'm referring to the index.php file of your theme - ndxzsite>default folder

Showing 1 - 12 of 12 posts in Forum » Customize » How to center Index in the middle of a page
 

This thread has been closed, thank you.