Format request.

More
12 years 5 months ago #19758 by marknissan@gmail.com
Hi,

on the page greendiscovery.cloudaccess.net/ in the right position, the titles of the modules are styled, with the first word in orange and the second in grey and at a specific font weight etc. On the page greendiscovery.cloudaccess.net/eco-excursions and subsequent pages, if I put the same modules in the advert4 position, there is different styling.

Can you show me where I can replicate the styling from the Right position into the Advert4 position? Preferably only Advert 4, not 1, 2 and 3.

Cheers

Mark

Please Log in to join the conversation.

More
12 years 5 months ago #19773 by ivan.milic
Replied by ivan.milic on topic Format request.
well styling for modules in right column and advert4 position are different.

You can replicate all styles involving #column_right for #c4 (#c4 in wrapper div in advert4)

Edit this files template_css.css, layout.css , and template_css.php

Put clones on bottom of each file content so new rules you add take advantage.

Please Log in to join the conversation.

More
12 years 5 months ago - 12 years 5 months ago #19806 by marknissan@gmail.com
Hi, that worked pretty well, altering the 'template_css.php' broke the menu though.

So thanks for that, one last question, I can't seem to fathom this, how to make the 1st word of the title and line items etc, orange like it is on the home page?

Cheers

Mark
Last edit: 12 years 5 months ago by marknissan@gmail.com.

Please Log in to join the conversation.

More
12 years 5 months ago #19813 by ivan.milic
Replied by ivan.milic on topic Format request.
For article title, you need to edit artile layout:

templates\hot_destinations\html\com_content\article\default.php
Code:
<?php if ($params->get('show_title')) : ?> <h2> <?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?> <a href="<?php echo $this->item->readmore_link; ?>"> <?php echo $this->escape($this->item->title); ?></a> <?php else : ?> <?php echo $this->escape($this->item->title); ?> <?php endif; ?> </h2> <?php endif; ?>

to show it needs to be rendered like this:

<h3><span>First</span> second third</h3>

Please Log in to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum