- Posts: 3
- Thank you received: 0
chefs image with hyperlink
-
kevinhktw
Inactive member -
Topic Author
- New Member
-
Less
More
11 years 9 months ago #31138
by kevinhktw
chefs image with hyperlink was created by kevinhktw
Sir,
How to make the chefs image with a hyperlink ?
thanks~
How to make the chefs image with a hyperlink ?
thanks~
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #31150
by ivan.milic
Replied by ivan.milic on topic chefs image with hyperlink
On our demo we have custom HTML module in user1 postion with this HTML as content:
and in template_css.css we have this css:
.chefs {
background: url(../images/chefs.png);
width: 322px;
height: 316px;
}
so you can simply modify image and use same module as we on demo or modify css if you want. Image location is:
templates/hot_restaurant/images/chefs.png
Code:
<div class="chefs">
<h2>Joomla Restaurant Template</h2>
</div>
and in template_css.css we have this css:
.chefs {
background: url(../images/chefs.png);
width: 322px;
height: 316px;
}
so you can simply modify image and use same module as we on demo or modify css if you want. Image location is:
templates/hot_restaurant/images/chefs.png
Please Log in to join the conversation.
-
kevinhktw
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
11 years 9 months ago #31156
by kevinhktw
Replied by kevinhktw on topic chefs image with hyperlink
Dears,
Thanks for reply. If I want to click the chefs image then the website will redirect to another page,how should I modify?
thanks
Thanks for reply. If I want to click the chefs image then the website will redirect to another page,how should I modify?
thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #31157
by ivan.milic
Replied by ivan.milic on topic chefs image with hyperlink
change:
<div class="chefs">
to:
<div class="chefs" onclick="window.location = ' tagretpage.com '; " >
<div class="chefs">
to:
<div class="chefs" onclick="window.location = ' tagretpage.com '; " >
The following user(s) said Thank You: kevinhktw
Please Log in to join the conversation.
Time to create page: 0.145 seconds