- Posts: 2
- Thank you received: 0
Change Layout of each row
-
coolSunshine
Inactive member - Topic Author
- New Member
Less
More
11 years 7 months ago #29174
by coolSunshine
Change Layout of each row was created by coolSunshine
Hello,
I have a big problem. I changed the order of my article and now I have different layouts than before.
The div: <div>class="items-row cols-1 row-0"</div> for example but I want to have the layout for items-row cols-1 row-3.
How can I change this style?
I want to have
- Contakt
- Events
- Menu
- Gallery
So I changed the order of the main article...now the order is correct but not the layout.
Greetings,
coolSunshine
I have a big problem. I changed the order of my article and now I have different layouts than before.
The div: <div>class="items-row cols-1 row-0"</div> for example but I want to have the layout for items-row cols-1 row-3.
How can I change this style?
I want to have
- Contakt
- Events
- Menu
- Gallery
So I changed the order of the main article...now the order is correct but not the layout.
Greetings,
coolSunshine
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #29179
by ivan.milic
Replied by ivan.milic on topic Change Layout of each row
Can you explain better?
Please Log in to join the conversation.
-
coolSunshine
Inactive member - Topic Author
- New Member
Less
More
- Posts: 2
- Thank you received: 0
11 years 7 months ago - 11 years 7 months ago #29182
by coolSunshine
Replied by coolSunshine on topic Change Layout of each row
I will try.
I have 4 rows. contact, events, menu and a gallery.
And there a 4 different css styles for that:
div.row-0 is the class="div.row-0" and in .css .div.row-0
contact = div.row-0
events = div.row-1
menu = div.row-2
gallery = div.row-3
but I want:
contact = div.row-3
events = div.row-0
menu = div.row-1
gallery = div.row-3
Thanks
I have 4 rows. contact, events, menu and a gallery.
And there a 4 different css styles for that:
- div.row-0
- div.row-1
- div.row-2
- div.row-3
div.row-0 is the class="div.row-0" and in .css .div.row-0
contact = div.row-0
events = div.row-1
menu = div.row-2
gallery = div.row-3
but I want:
contact = div.row-3
events = div.row-0
menu = div.row-1
gallery = div.row-3
Thanks
Last edit: 11 years 7 months ago by coolSunshine. Reason: Example image added
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 7 months ago #29183
by ivan.milic
Replied by ivan.milic on topic Change Layout of each row
That class is based on number of columns you can define in menu item settings, but some menu item don't give you option to define that parameter. You can provide layout overrides. To override default joomla php file you copy
components\<component>\views\<component view>\tmpl\<php file to override >
to
templates\hot_foodspirit\html\<component>\<component view>\<php file to override >
then you edit <php file to override >
You can read more about layout overrides in joomla documentation, but basically what I told you is main thing to get you going.
That all we could help you
components\<component>\views\<component view>\tmpl\<php file to override >
to
templates\hot_foodspirit\html\<component>\<component view>\<php file to override >
then you edit <php file to override >
You can read more about layout overrides in joomla documentation, but basically what I told you is main thing to get you going.
That all we could help you
Please Log in to join the conversation.
Time to create page: 0.166 seconds