Currently the md_Alpine Theme has several anchors (e.g. #about, #team, #contact). How can we change these so we can create links with custom anchor names.
Tue, 07/01/2014 - 02:09
No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.
Hi,
You can change it in theme_folder/template/page--front.tpl.php
It is noticed that you change only ID
Cindy,
In the team section of page--front.tpl.php
after only changing the id="team" to id="products"
the titles of the sections are now above the top of the images.
Before, they were on the image.
On a “hover” over the image it just zooms larger.
Before, the image would darken and then image would zoom inside a static frame.
We flushed the cache and it is still incorrect.
Hi, The id="team" should be kept like this:
If the problem still occurs, please send us your site's link and log-in account via [email protected], we will support you Cindy,
SOLVED!
You do not CHANGE the id= but you have to ADD an additional id=
Also in this case it is NOT a "div" but a "section"
Below is the correct resulting code snippet for adding a "custom anchor"
<?php if($page['team']):?>
<!-- Team Section -->
<section id="CUSTOM_ANCHOR">
<section id="team" class="section-content">
<?php print render($page['team']);?>
</section>
</section>
<!-- Team Section -->
Hi,
Thank you very much for your feedback
Regards,