Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

How to get a header into the Yellow block

  • da vasco
  • da vasco's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 7 months ago #138055 by da vasco
da vasco created the topic: How to get a header into the Yellow block
I changed the menu/main_menu/home-item from "articles/special_articles" into "K2/categories"
The chosen categorie shows item pictures in the "Portfollio Setup DO NOT DELETE" style.
(This way it's easier for me to make a layout of 4 or 5) item_pictures

1.
Now i want the name of this menu_item, to be shown next to the sites tagline (in the yellow block), just like contact.
I've looked in the forum and tried several things but can't find the solution.
2.
The Layout of "Portfollio Setup DO NOT DELETE" is wider than the yellow block and the footer
how can i fix this.
link to website: www.iwout.com/w1/

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #138056 by Krikor Boghossian
Krikor Boghossian replied the topic: How to get a header into the Yellow block
Hello,

for 2: simply paste this snippet in your custom.css
.isFrontpage .itemPortfolioList { margin: 0; }

As for inserting elements in the custom header.
This template inserts your module titles as anchor links. You can trick it of course to include other elements as well.

In order to include the component's header as well you need to tweak your overrides a bit.
Open the templates/archetype/html/com_k2/portfolio/category.php file.

Locate the following block of code
<?php if($this->params->get('show_page_title')): ?>
	<!-- Page title -->
	<div class="componentheading<?php echo $this->params->get('pageclass_sfx')?> resetPad">
		<?php echo $this->escape($this->params->get('page_title')); ?>
	</div>
	<?php endif; ?>

and change this to
<?php if($this->params->get('show_page_title')): ?>
	<!-- Page title -->
	<h3 class="moduleTitle">
		<?php echo $this->escape($this->params->get('page_title')); ?>
	</h3>
	<?php endif; ?>

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • da vasco
  • da vasco's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 7 months ago #138057 by da vasco
da vasco replied the topic: How to get a header into the Yellow block
Thanks Krikor for fixing this so fast and easy.
Still got one question about Portifollio setup (or should i open a new tpic for this?)
All my "second-item-pictures" don't aline with the first one above

link to mine: www.iwout.com/w1/index.php/schilderijen-reliefs/item/54-pollution-i

link to an Original demo item:
www.iwout.com/w1/index.php/lichtobjecten/item/15-lobortis-ante-rhoncus-in-suspendisse

all my pictures are uploaded with a width of 900pix
how can i fix this??

da

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #138058 by Krikor Boghossian
Krikor Boghossian replied the topic: How to get a header into the Yellow block
You 're welcome.

No need to open a new topic.
You need images 960px and above (in width) in order to be aligned with each other.

I will give you a CSS snippet to manually align them all but this will force ALL images in that extra field to stretch to full width.
So.. use it with caution. My suggestion is to use pictures above 960px.
.mediaArea img {
min-width: 100%;
}

PS. Remember to use your custom.css file and do not modify core files.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum