Jump to content

[Solved] Create a "Top sellers" php page without header, left,right columns and footer


kelvinlym

Recommended Posts

I would like to create a "Top sellers" page without the header, left, right columns, footer but still keeping with the theme.

An example is shown in the attached picture. I just want the area shown in the blue box on a php page.

I cloned the best-sales.php, BestSalesController.php and best-sales.tpl

However, BestSalesController extends the FrontController, therefore header, left/right column and footer still shows.

How can I remove those unwanted elements without touching the Core files?

Thanks.

45587_anC6o4dOSfycdvAqesiW_t

Link to comment
Share on other sites

Add the following to the bottom of your global.css file
l

#best-sales #right_column {
display:none}

#best-sales #left_column {
display:none}

#best-sales #header {
display:none}

#best-sales #footer {
display:none}

#best-sales {
margin-left:25%}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...