Tagged: module position size
-
AuthorPosts
-
November 16, 2016 at 11:41 am #986938
Dear guys.
Existing Module Positions are at different width size.
Example: http://pangolinlaser.eu/support/what-is-flashback-4.htmlYou see a module Position over the Content – the Content itself and a module Position below the Content.
We dont understand, why are the module positions not at the same width as the Content? We furthermore don
t know how to Change this.
Please help.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 17, 2016 at 2:47 am #987128Hi
The section position is a full-width module position and show in the same way . On the other hand the article content body has different style code , this is reason it looks different .
If you want to change this position size only for the article view let me know , i will suggest you changes based on it .Regards
November 17, 2016 at 8:11 am #987197So None of the module positions has the same width than the Content?
I would really suggest to Change this.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 17, 2016 at 8:48 am #987219Hi You can use any other position, or just add below code in /css/custom.css file to make it same like content width on article pages
Path : /templates/ja_elicyon/css/custom.css
.view-article .t3-sections {padding-left: 30px!important; padding-right: 30px!important; } .view-article .t3-content-bottom {padding-left: 30px!important; padding-right: 30px!important; }
Hope it helps .
November 17, 2016 at 9:46 am #987238You wrote: "You can use any other Position"
But thats what we did.
All positions have a different length than the Content!
Thats why i complain. 🙂Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 17, 2016 at 10:09 am #987262Hi
Content and module position yse different style code . You can apply my tweak code to make the position like you needed . Beside this you can also create your own module position with own custom style .
Its not a problem that content and module position use different style or width .
Let me know if there is any doubt in this case .November 17, 2016 at 10:26 am #987267Please answer my question, as we do not want to reprogram the Code:
Is there any existing module Position, which has the same length as the Content?
If not, is there a Chance to "create" a module Position with the same length, without reprogramming the Code?
If that is possible, we don`t know how to do this, as we tried but were not successful.Note: We changed from Rockettheme to you guys for good reasons, but a Thing like a module Position, which is at same lenght as the Content – we expected to get without any Problems – as i think this is a important Position – of Course!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 17, 2016 at 3:15 pm #987340Is there any existing module Position, which has the same length as the Content?
If not, is there a Chance to "create" a module Position with the same length, without reprogramming the Code?All positions are using Full width due to template design concept , except position-1, 2, 3,4 that you can resize and use them . But i do not suggest you to change in these positions because they are also used on Homepage .
The better way to simply create a module position .
Go to /tpls/default.php file
add below code<?php $this->loadBlock('mast-top2') ?>
Here : http://prntscr.com/d8h3e8
Now find the attached file , unzip it and paste this in the /tpls/blocks folder .
Here : http://prntscr.com/d8h3tyNow Define the new position in templateDetails.xml file .
<position>mast-top2</position>
Here : http://prntscr.com/d8h4ja
Module position is created , You can publish the module on mast-top2
It will have the same width of content .Regards
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum