Support Forum

Hi again

Now I am just missing the final detail before i can start building this page

I have made a sticky menu to the left and a blog layout
Each sticky menu should link with an ID to the TITLE of each article

In native Joomla this can not be done as you can only add Anchor to the body text, not the title

I got help from one I know who has done this and he said i should use the overwrite on this file

he added the code as follows

div class="container content-row content-block article" id="item->alias; ?>">

escape($this->item->title); ?>
item->text; ?>

He said this will make an ID (#about-us) if th alias is (About-us)

So i went into the overwrite file but there is already so much stuff there, maybe from the template parameters?
He said just add the line
id="item->alias; ?>

but i am alittle lost where in this template overwrite file i should add it

Is there a simple way in the template to manage this?
Adding the anchor in the body means that the scroll menu will not allign with the article title.

Responses (6)
Sorry, but you are not allowed to view the replies here.
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!