Difference between revisions of "Bootstrap Setup"

From Phoenix Cart User Guide
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="btn-grey"><historylink type="back">&#129032; Back</historylink></span>
+
<div class="btn btn-grey btn-back">{{#fas:arrow-left}} Back</div> <div class="btn btn-grey btn-admin">{{#fas:cog}} Administration</div>
<span class="btn-grey" style="color:#0088dd;">'''[[ADMINISTRATION|&#x1F809; ADMINISTRATION]]'''</span>
 
 
<hr>
 
<hr>
 +
__TOC__
 +
__FORCETOC__
 +
Phoenix looks great as it is but some Bootstrap settings can be changed to alter the display if desired.
  
 +
From admin go to [[File:adminnavbarconfig.png|link=]] '''Configuration &rarr; Bootstrap Setup''' to see this:
 +
 +
<div class="mainpage_box">
 +
[[File:bootstrapsetup.jpg|link=|1500px]]
 +
</div>
  
Phoenix looks great as it is but the page width can be changed if desired.
 
  
From admin go to '''Configuration &rarr; Bootstrap Setup'''
+
----
 +
==='''Bootstrap Container'''===
  
*Click '''Bootstrap Content'''
+
*Click '''Bootstrap Container'''
*Click <span class="btn-blue">Edit</span> to see this:
+
*Click <span class="btn-yellow">Edit</span> to see this:
  
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:bootstrapsetup2.png|link=|1500px]]
+
[[File:bootstrapsetup2.jpg|link=|1500px]]
 
</div>
 
</div>
As indicated in the edit options, changing the setting from '''8''' will reduce the width of the page content whilst increasing the width of the side Box Modules.
 
  
*Click '''Bootstrap Container'''
+
==='''Bootstrap Breakpoints'''===
*Click <span class="btn-blue">Edit</span> to see this:
+
CE Phoenix Cart is set with '''container-xl''' as default which displays the page width according to the device screen width.
 +
 
 +
These settings change the behaviour according to the device screen width, described as '''breakpoints''' in the first row, as per this table.
 +
 
 +
Generally, not specifically, it can be helpful to think of these breakpoints like:
 +
 
 +
*Extra Small <576px = mobile phones in portrait mode.
 +
*Small ≥576px = mobile phones in landscape mode, larger phones, smaller tablets in portrait mode.
 +
*Medium ≥768px = tablets in portrait mode.
 +
*Large ≥992px = smaller desktops or laptops, tablets in landscape mode.
 +
*Extra Large ≥1200px = desktops or laptops.
 +
*Extra Extra Large ≥1400px = large laptops, large external monitors.
 +
 
  
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:bootstrapsetup1.png|link=|1500px]]
+
[[File:bootstrapcontainer.jpg|link=|1500px]]
 
</div>
 
</div>
  
CE Phoenix is set with '''container-fluid''' as default which displays the shop 100% of the device screen width.
+
 
 +
----
 +
==='''Bootstrap Content'''===
 +
 
 +
*Click '''Bootstrap Content'''
 +
*Click <span class="btn-yellow">Edit</span> to see this:
  
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:shop.png|link=|1500px]]
+
[[File:bootstrapsetup1.jpg|link=|1500px]]
 
</div>
 
</div>
  
Change the setting from '''container-fluid''' to '''container''' will reduce the webpage width according to the device used to view it as per this table.
+
This setting is only used if side Box Modules are installed. They are not installed by default but can be installed, go to '''Modules &rarr; Boxes'''
[[File:bootstrapcontainer.png|link=|1500px]]
+
 
 +
As indicated in the edit options, changing the setting from '''8''' will reduce the width of the page content whilst increasing the width of the side Box Modules.
  
For example, changing the setting to '''container''' and removing the side boxes gives this result.
+
 
 +
----
 +
==='''Bootstrap Theme'''===
 +
 
 +
*Click '''Bootstrap Theme'''
 +
*Click <span class="btn-yellow">Edit</span> to see this:
  
 
<div class="mainpage_box">
 
<div class="mainpage_box">
[[File:container.png|link=|1500px]]
+
[[File:bootstraptheme.jpg|link=|1500px]]
 
</div>
 
</div>
  
The difference in display is your own preference - whichever look you prefer - there are fans of both.
+
This setting is only used if bootstrap5 template is set in '''Configuration &rarr; My Store &rarr; Template Selection'''.
  
 +
This is set to '''auto''' which allows the theme to automatically switch between modes based on the user's system preferences.
  
Note that if all Module Boxes have been removed, there are alternatives to the box modules that can be displayed elsewhere e.g. in the navigation bar or the footer but an alternative module for displaying Categories is not included with Phoenix.
+
Set to '''dark''' or '''light''' will fix and the keep the mode unchanged.
  
 +
'''light''' is the default appearance of the store.
 +
 +
'''dark''' would make the store appear like this:
 +
 +
<div class="mainpage_box">
 +
[[File:dark-mode.jpg|link=|1500px]]
 +
</div>
  
 
<hr>
 
<hr>
{{Page_In_Progress}}
+
{{Forum}}
 +
{{Pro}}
 
{{Contribute}}
 
{{Contribute}}

Latest revision as of 09:31, 2 November 2024

Back
Administration

Phoenix looks great as it is but some Bootstrap settings can be changed to alter the display if desired.

From admin go to Adminnavbarconfig.png Configuration → Bootstrap Setup to see this:

Bootstrapsetup.jpg



Bootstrap Container

  • Click Bootstrap Container
  • Click Edit to see this:

Bootstrapsetup2.jpg

Bootstrap Breakpoints

CE Phoenix Cart is set with container-xl as default which displays the page width according to the device screen width.

These settings change the behaviour according to the device screen width, described as breakpoints in the first row, as per this table.

Generally, not specifically, it can be helpful to think of these breakpoints like:

  • Extra Small <576px = mobile phones in portrait mode.
  • Small ≥576px = mobile phones in landscape mode, larger phones, smaller tablets in portrait mode.
  • Medium ≥768px = tablets in portrait mode.
  • Large ≥992px = smaller desktops or laptops, tablets in landscape mode.
  • Extra Large ≥1200px = desktops or laptops.
  • Extra Extra Large ≥1400px = large laptops, large external monitors.


Bootstrapcontainer.jpg



Bootstrap Content

  • Click Bootstrap Content
  • Click Edit to see this:

Bootstrapsetup1.jpg

This setting is only used if side Box Modules are installed. They are not installed by default but can be installed, go to Modules → Boxes

As indicated in the edit options, changing the setting from 8 will reduce the width of the page content whilst increasing the width of the side Box Modules.



Bootstrap Theme

  • Click Bootstrap Theme
  • Click Edit to see this:

Bootstraptheme.jpg

This setting is only used if bootstrap5 template is set in Configuration → My Store → Template Selection.

This is set to auto which allows the theme to automatically switch between modes based on the user's system preferences.

Set to dark or light will fix and the keep the mode unchanged.

light is the default appearance of the store.

dark would make the store appear like this:

Dark-mode.jpg


Many Addons and Extensions available in the CE Phoenix Cart Addons Library

If help is needed, support is available in the CE Phoenix Cart Support Forum

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org