Tagged: After, custom code, Link in Header
-
AuthorPosts
-
Landkreis Tübingen Friend
Landkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 3, 2017 at 11:14 am #1007876I’ve got an image over the MainMenu-Bar. It is inserted via templates –> Custom Code –> After .
The Code is: <div align="center"><img src="images/logos/header-logo.png" width="50%">
This works.
But the image should link to an external URL. The "normal" <a href …> Code doesn’t work. How can I solve this
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 3, 2017 at 11:57 am #1007888Hello
Your website is offline , please provide a temp super user account to your backend so we can look at it .
Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 8:47 am #1009458This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 10, 2017 at 9:01 am #1009468Hello
If i correctly understood your question you want your logo to point to a different url and not at your home , if you want to do this than open this file :
/templates/ja_resume/tpls/blocks/header.php and find :<a href="<?php echo $logourl ?>" title="<?php echo strip_tags($sitename) ?>">
change it to :
<a href="yoururl" title="<?php echo strip_tags($sitename) ?>">
Regards
Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 9:05 am #1009473no, unfortunately not …
the logo is correct an links correctat the top of the page, you can see an image (red and grey bar with a flag and Landkreis Tübignen).
It is inserted via templates –> Custom Code –> After .
The Code is: <div align="center"><img src="images/logos/header-logo.png" width="50%">
But the image should link to an external URL. The "normal" <a href …> Code doesn’t work. How can I solve this
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 10, 2017 at 9:10 am #1009475I cannot access your administrator page , seems you have a firewall behind it , i need to look at your code directly first to answer , so please share as private reply an url for it.
Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 9:13 am #1009476This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 10, 2017 at 9:31 am #1009491This reply has been marked as private.Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 9:44 am #1009504ok, i will try … where can i find custom.css?
Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 10:15 am #1009528i have added the code in ja_resumecss –> custom.css but it doesn’t work –> please look here: http://www.tuebinger-umwelten.de/landkreis-tuebingen/index.php/de/
–> can you see the link "test" in the left corner? it is a link, but it doesn’t work
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 10, 2017 at 10:31 am #1009534You should add
.t3-header and not t3-header
I corrected it check now
Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 10:52 am #1009544thank you, the link works now, but the menu and the logo "tübinger umwelten" is no longer fixed … it should be fixed …. like it was before, only the image with the bar should be linked ….
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 10, 2017 at 11:13 am #1009556like it was before, only the image with the bar should be linked ….
You added a custom code and i showed that code why it is not working , to restore original template settings simply remove the code i suggested above from your custom.css, regarding the customization of the t3-header you should do it yourself or hire a developer to modify original code released into template and have your customization working as you wish.
Regards
Landkreis Tübingen FriendLandkreis Tübingen
- Join date:
- February 2017
- Posts:
- 42
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 1
February 10, 2017 at 11:19 am #1009559yes – i can do it, like it was … only thing, i wanted to know, if it’s possible to link the image and keeping the logo fixed …. so, this seems not to be possible.
-
AuthorPosts
This topic contains 14 replies, has 2 voices, and was last updated by pavit 7 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum