Advert Manager

Open to all! Ask other shopowners for help.
Post Reply
User avatar
tessthepup
Certified Developer
Posts: 383
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Advert Manager

Post by tessthepup »

Good afternoon all,

I have copied the slider module to make 3 more advert modules, 'Left', 'Center' and 'Right'

I have set them all to col-sm-4 to total 12 columns.

My question is I want all 3 modules to be contained in a col-sm-10 container.

Would anyone have an idea on how I could cotain 3 seperate content modules into 1 container :?:

See here for what I mean https://olivias-gifts.co.uk


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Advert Manager

Post by Kofod95 »

In the override for the first one's template-file add to the beginning
<div class="col-sm-10 row">

In the override for the last one's template-file add to the bottom </div>

Make sure never to install/uninstall just one of them! I would probably put them together in one module to avoid any mistakes.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
User avatar
tessthepup
Certified Developer
Posts: 383
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: Advert Manager

Post by tessthepup »

Kofod95 wrote: Sat Apr 15, 2023 5:50 pm In the override for the first one's template-file add to the beginning
<div class="col-sm-10 row">

In the override for the last one's template-file add to the bottom </div>

Make sure never to install/uninstall just one of them! I would probably put them together in one module to avoid any mistakes.

//Daniel
@Kofod95
Thanks Daniel, I already did that but forgot to put 'row' so did not work. All sorted now :D
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Advert Manager

Post by Kofod95 »

tessthepup wrote: Sat Apr 15, 2023 6:04 pm [...] forgot to put 'row' [...]
Can't tell how many times I've done the same (the number would be embarrassing!) :oops:
Glad it's sorted!

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply