How to center Index in the middle of a page

plocploc / 2013-11-22 12:27:22   

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 / 2013-11-22 12:56:58   

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 / 2013-11-22 18:22:47   

Hmmmmm indeed

Maybe too hard for me

I'll try that
    function load_index()

But I got that
syntax error, unexpected '

plocploc / 2013-11-22 20:06:43   

Sorry my previous is not complete

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

But I got that :
syntax error, unexpected '

plocploc / 2013-11-22 20:07:09   

Sorry my previous is not complete

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

But I got that :
syntax error, unexpected

plocploc / 2013-11-22 20:07:47   

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 / 2013-11-22 20:08:28   

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 / 2013-11-22 23:16:09   

* 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 / 2013-11-23 08:19:07   

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 / 2013-11-23 09:19:44   

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 / 2013-11-23 09:54:19   

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

Hmmmmm

arsondpi / 2013-11-23 17:27:58   

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

This thread has been closed, thank you.