-
AuthorPosts
-
January 22, 2009 at 9:53 pm #137376
Hi there. I’m using JA_Rochea for a site I’m running.
I just LOVE the Frontpage styling of Quartz.. with the large Date automatically being placed beside the content, etc.
Is there an easy way to move this style over to Rochea?
I see that the code that controls this is likely
.contentpaneopen_fp
But simply copying all related CSS to the Rochea CSS doesn’t do the trick (duh!) 😉
Am I missing something easy?
Thanks!
.d
ShannonN FriendShannonN
- Join date:
- July 2006
- Posts:
- 1947
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 16
- Thanked:
- 172 times in 49 posts
January 22, 2009 at 10:06 pm #287696DreamWeb;107604Hi there. I’m using JA_Rochea for a site I’m running.
I just LOVE the Frontpage styling of Quartz.. with the large Date automatically being placed beside the content, etc.
Is there an easy way to move this style over to Rochea?
I see that the code that controls this is likely
.contentpaneopen_fp
But simply copying all related CSS to the Rochea CSS doesn’t do the trick (duh!) 😉
Am I missing something easy?
Thanks!
.d
Have you thought of just assigning the Quartz template to your Front Page and adjusting content to suit leaving the rochea template assigned to all other areas? May be a tad easier timewise than modding code?
Just my thoughts
ShannonNJanuary 23, 2009 at 6:48 pm #287862Hey Shannon.
Thanks for the input.. but I think it would still take some heavy modding to get the Quartz template to look ‘in sync’ with the rochea template. This sounds like more work than what I was asking for. But, maybe I’m just not ‘seeing’ it in the same way you are.
Hmm! I’ll have to give it some more thought.
I’d still love to figure out a solution to my original question though!
David
ShannonN FriendShannonN
- Join date:
- July 2006
- Posts:
- 1947
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 16
- Thanked:
- 172 times in 49 posts
January 23, 2009 at 6:55 pm #287866DreamWeb;107818Hey Shannon.
Thanks for the input.. but I think it would still take some heavy modding to get the Quartz template to look ‘in sync’ with the rochea template. This sounds like more work than what I was asking for. But, maybe I’m just not ‘seeing’ it in the same way you are.
Hmm! I’ll have to give it some more thought.
I’d still love to figure out a solution to my original question though!
David
Send a PM to Menalto ( resident customise guru)
He could advise you and assist in custom workMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
January 29, 2009 at 10:18 pm #288888Just sendt you a PM regarding this for some more info
melron Friendmelron
- Join date:
- February 2006
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
February 23, 2009 at 5:30 pm #293087How did you solve that, because I’d like to use that ja_quartz date’s style on ja_zinc template’s frontpage?
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 23, 2009 at 7:09 pm #293110Backup first and then open /templates/ja_zinc/html/com_content/frontpage/default_item.php and find on line 50…
[php]<?php if ($this->item->params->get(‘show_create_date’)) : ?>
<span class=”createdate”>
<?php echo JHTML::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC2’)); ?>
</span>
<?php endif; ?>[/php]and delete.Now find on line 19….
[php]<div class=”contentpaneopen<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>[/php]and change to…
[php]<div class=”contentpaneopen<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”><?php if ($this->item->params->get(‘show_create_date’)) : ?>
<span class=”createdate”>
<?php echo JHTML::_(‘date’, $this->item->created, ‘%a – %d <br /><span class=”month”>%b</span>’); ?>
</span>
<?php endif; ?>[/php]and save.Now open template.css and find on line 478…
.createdate {
padding-right: 6px;
margin-right: 5px;
background: url(../images/vline.gif) no-repeat right center;
}
and change to….createdate {
color: #cccccc;
background: #000000;
border: 2px solid #999999;
display: block;
text-transform: uppercase;
text-align: center;
width: 70px;
float: left;
margin-right: 10px;
}span.month{
font-weight: bold;
font-size: 150%;
}Adjust styling above to suit whatever theme of Zinc you are using.
melron Friendmelron
- Join date:
- February 2006
- Posts:
- 65
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
February 23, 2009 at 8:12 pm #293132Thanks!
I did not even knew there is default.item.php file.. These new templates are very complex and its difficult to modified them when You dont understand much php.. (and english you may say) 😀
-
AuthorPosts
This topic contains 8 replies, has 5 voices, and was last updated by melron 15 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum