-
AuthorPosts
-
sobe Friend
sobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 12, 2014 at 7:46 am #201999Is there a way to add a Page Heading to a “List All Categories” page without changing the layout of the page?
I would like the page to keep the following rectangular layout, but when a Page Heading is added all the squares move to the right side and are morphed into a bigger square.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 12, 2014 at 4:31 pm #552628can you please add the page heading there, so I can see the issue and provide the right solution.
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
November 5, 2014 at 12:50 pm #554268Hi Chavan,
I’ve done as you’ve asked, and since provided you my admin details. Do you have any suggestions on the right solution?Eragon H FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
November 13, 2014 at 7:25 am #555076Can you provide the screenshot with description of how you want to achieve, it would be easier for me to provide the suggestion
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
November 15, 2014 at 11:53 am #555294Eragon H FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
November 17, 2014 at 10:38 am #555424<em>@sobe 453187 wrote:</em><blockquote>
Please see attached image, and the example title “PAGE HEADING”.</blockquote>Thank for your information.
I’m currently out of office. I will reply your question as soon as I’m back
Eragon H FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
November 19, 2014 at 9:09 am #5557521. You can change the code in file root/templates/ja_fixel/html/com_content/categories/default.php
FROM >> http://prntscr.com/57w26l
<div class="fixel-grid-wrapper">
<div id="fixel-grid" class="fixel-grid categories-list<?php echo $this->pageclass_sfx;?>"><?php if ($this->params->get('show_page_heading')) : ?>
<div class="items grid-2x2 no-repeat pageheading">
<article>
<h2><?php echo $this->escape($this->params->get('page_heading')); ?></h2>
<?php if($this->params->get('jpage_desc')) : ?>
<div><?php echo $this->escape($this->params->get('jpage_desc')); ?></div>
<?php endif ?>
</article>
</div>
<?php endif; ?><?php if ($this->params->get('show_base_description')) : ?>
<?php //If there is a description in the menu parameters use that; ?>
<?php if ($this->params->get('categories_description')) : ?>
<?php echo JHtml::_('content.prepare', $this->params->get('categories_description'), '', 'com_content.categories'); ?>
<?php else: ?>
<?php //Otherwise get one from the database if it exists. ?>
<?php if ($this->parent->description) : ?>
<div class="category-desc">
<?php echo JHtml::_('content.prepare', $this->parent->description, '', 'com_content.categories'); ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?><?php echo $this->loadTemplate('items'); ?>
</div>
</div>TO >> http://prntscr.com/57w33d
<?php if ($this->params->get('show_page_heading')) : ?>
<div class="items grid-2x2 no-repeat pageheading">
<article>
<h2><?php echo $this->escape($this->params->get('page_heading')); ?></h2>
<?php if($this->params->get('jpage_desc')) : ?>
<div><?php echo $this->escape($this->params->get('jpage_desc')); ?></div>
<?php endif ?>
</article>
</div>
<?php endif; ?><div class="fixel-grid-wrapper">
<div id="fixel-grid" class="fixel-grid categories-list<?php echo $this->pageclass_sfx;?>">
<?php if ($this->params->get('show_base_description')) : ?>
<?php //If there is a description in the menu parameters use that; ?>
<?php if ($this->params->get('categories_description')) : ?>
<?php echo JHtml::_('content.prepare', $this->params->get('categories_description'), '', 'com_content.categories'); ?>
<?php else: ?>
<?php //Otherwise get one from the database if it exists. ?>
<?php if ($this->parent->description) : ?>
<div class="category-desc">
<?php echo JHtml::_('content.prepare', $this->parent->description, '', 'com_content.categories'); ?>
</div>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?><?php echo $this->loadTemplate('items'); ?>
</div>
</div>2. Add this code to the file root/templates/ja_fixel/css/custom.css to style the page heading. You can change the value to meet your need.
.pageheading article {
background: #e67e22
color: #fff
font-size: 17px;
line-height: 1.8;
padding: 80px;
}Result >> http://prntscr.com/57w2rv
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
November 20, 2014 at 9:41 am #555910Hi Eragon,
I was able to create the heading, but the image still clustered into a square to the right side on the screen (instead of being vertical rectangles)Eragon H FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
November 20, 2014 at 9:59 am #555916Have you follow my instruction?
Can you provide your site URL, temporary admin account and the direct link to that page. I can have a look
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
November 20, 2014 at 12:00 pm #555950Yes, I’ll send you a PM shortly. Thanks for the assistance.
Eragon H FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
November 21, 2014 at 2:05 am #556024You forget to remove/comment out the code lines that you copied to above >> http://prntscr.com/58hiw5
Result : http://prntscr.com/58hjco
1 user says Thank You to Eragon H for this useful post
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 3 voices, and was last updated by Eragon H 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Adding page heading to "List All Categories" page without changing layout
Viewing 11 posts - 1 through 11 (of 11 total)