You are here:  » Layout Boxed


Layout Boxed

Submitted by Tobix on Thu, 2021-05-06 15:05 in

How do I do boxed layout mode? So that you have a gray background and white content part?

Submitted by support on Fri, 2021-05-07 08:18

Hello Tobix,

I'm not 100% sure which part (if not all) you wish to style like that but at the top level you could add a background-color and color to the body style definition in html/default.css e.g.

  body {
    font-size: 12px;
    background-color: #666666;
    color: white;
  }

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Fri, 2021-05-07 15:09

Hi, David,
unfortunately the background becomes all gray. I want to recreate this effect:
{link saved}

Submitted by support on Mon, 2021-05-10 07:11

Hi Tobix,

Ah OK - leaving the above in place (so that the non-content areas are grey), first edit html/menu.php and add the following code at the very end:

<div id='pt_main' class='row'><div class='small-12 columns'>

Then edit html/footer.php and add the following code at the very top:

</div></div<

Then back in html/default.css add the following new code:

#pt_main {
  background-color: white;
}

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Mon, 2021-05-10 15:17

no work :(

Submitted by support on Tue, 2021-05-11 15:56

Hi Tobix,

No change at all?

Don't forget to do a hard refresh (CTRL+F5 in most browsers) after modifying CSS to ensure that it is reloaded...

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Tue, 2021-05-11 16:28

Yes ... but nothing. I change the background of the text. I want to change the left and right side background to gray for example.

Submitted by Tobix on Tue, 2021-05-11 16:41

Resolved.
There was a small mistake that I think has sent everything up in smoke :)