Clickable Logo in Header in Artisteer 4 (a working solution)


First Prev Page 2 of 2   
Author Message
TomcatDoc

Posted: 1/8/2013
Quote message 

Quote Nick:

Thanks for that TomcatDoc, you showed us another way of inserting a logo.

That said, this does nothing to solve the problem in hand. The logo, introduced as a RSS link, still disappears in the responsive layouts.

All is not lost though. With your method it's easier to introduce a logo and put a link on it. Before we had to do it with a shape, and edit the html content of the shape to insert the logo and the link manually. And since it had to be done with a custom html code, you had to manually upload the logo. This makes it easier.

To complete the process, we still need to have a Headline, and hide it with the CSS code which was generously shared by mightec earlier in this post (put it in the export options -> Additional CSS).

.art-headline, .art-headline a, .art-headline a:link, .art-headline a:visited, .art-headline a:hover
{
z-index: -1;
}


With this, in the desktop layout, we can have a custom, clickable logo, and in the responsive layouts (tablets 1024px or less, and smartphones), we can have the text Headline.

This must be better addressed by Artisteer though, and sooner rather than later. It has been discussed and asked for, for several weeks now. Even Templateer does not address this issue, and a specific email sent to it's developer 3 days ago, and is still unanswered. I'm waiting Bud...



Thanks for the kind words Nick!
I opted to do something different for keeping the logo in the header on mobiles.
I utilized a CSS hack posted by Pekka M and expanded on it a bit. The result displays well on my Droid.
I located the image on the server in the Word Press directory that represents the logo, copied it and renamed it. Then I headed over to WP>Appearance>Editor>style.responsive.css
and made the following tweak:

.responsive .art-header {
width: auto;
height: auto;
min-height: 100px;
min-width: 1%;
margin-right: 1% !important;
margin-left: 1% !important;
background-color: transparent;
background-image: url("images/objectlogomobile.png");
background-position: left center !important;
background-size: contain;
background-repeat: no-repeat;
}
As you can see, in the responsive CSS stylesheet I added the background image pointer to the newly copied and renamed logo image file. That's really all that is needed. I did spruce it up a tiny bit and "position" it.
So far It's working and has not broken anything...YET....
:-/

 
Nick

Posted: 1/8/2013
Quote message 

Ah, the rest of the story just gets uncovered.

Let me start with thanks for sharing, and looking forward in trying this. Looking at the CSS code, I have a good feeling about this.

Thanks a million TomcatDoc, this was eating me up for several weeks now, and still no word from the people that I actually money to (Artisteer and Templateer)!
 
Scott

Posted: 1/13/2013
Quote message 

Quote TomcatDoc:


Thanks for the kind words Nick!
I opted to do something different for keeping the logo in the header on mobiles.
I utilized a CSS hack posted by Pekka M and expanded on it a bit. The result displays well on my Droid.
I located the image on the server in the Word Press directory that represents the logo, copied it and renamed it. Then I headed over to WP>Appearance>Editor>style.responsive.css
and made the following tweak:

.responsive .art-header {
width: auto;
height: auto;
min-height: 100px;
min-width: 1%;
margin-right: 1% !important;
margin-left: 1% !important;
background-color: transparent;
background-image: url("images/objectlogomobile.png");
background-position: left center !important;
background-size: contain;
background-repeat: no-repeat;
}
As you can see, in the responsive CSS stylesheet I added the background image pointer to the newly copied and renamed logo image file. That's really all that is needed. I did spruce it up a tiny bit and "position" it.
So far It's working and has not broken anything...YET....
:-/



@TomcatDoc

I tried this .css tweak and still no change for mobile view. Maybe this is why:

The design layout I use is a large background image (with logo and graphics) and I have the header implementing slider images with the menu below the header/slider. (URL:http://waukeshaguitartownproject.com/) In mobile view (with your .css change) only one of the slider images displays and it's not the custom image I created to display in place of the smaller slider images.

Any suggestions would be warmly welcomed ;-)

~Scott


 
Johnboy

Posted: 1/17/2013
Quote message 

I solved the problem by putting a textblock in the header and reconfigure it to display the logo in responsive/mobile view.
The edited tag for the textblock in style.responsive.css looks like this:

.responsive .art-header .art-shapes .art-textblock
{
padding: 2% !important;
margin: 2% !important;
line-height: normal;
background-image: url(images/object1648787719.png); /* Your logo. High resolution recommended to keep it nice when mobile resolution is high */
display: none;
top: auto;
left: auto;
width: auto;
height: auto;

text-indent: -9999px; /*gets rid of the text in the textblock if there is any*/
width: 80%; /*width of box and logo*/

background-position: center center;
background-size: contain;
background-repeat:no-repeat;
}


I used this instead of putting the logo directly into the background to avoid it being covered by an expanding menu.

~John
 
Greg J

Posted: 1/20/2013
Quote message 

Heres a variation that does not require anything but a shape.

I have a banner where the logo is embedded in the left side of the banner. I did not want to have to redo the banner. So I thought if I could make the shape a div and make the whole area clickable I would achieve the correct results.

This is what worked for me...

1. Add a header shape to sit over the top of your logo. Resize it accordingly and make a note if the height and width properties for the shape - you will need these later.

2. Change the shape fill to transparent
3. Edit the html for the shape and add the following html code

<div id="my-div"><a href="/" class="fill-div"></a></div>


Now the next step is to make this entire div clickable. Copy and paste the following code into your Export > Options > Custom CSS box

#my-div {

width: 160px;
height: 75px;
}

a.fill-div {
display: block;
height: 100%;
width: 100%;
text-decoration: none;
}


make sure you overwrite the height and width settings with the height and width of your shape

 
Brad

Posted: 2/5/2013
Quote message 

THANKS MARK C! Without this, I could not have plugged in my steampunk social networking icons. Used the shape option you outlined but changed the code a bit to open up blank windows. You DA MAN!

www.thechristiantoolbox.com
 
Glen

Posted: 3/7/2013
Quote message 

I am new at CSS... how do you add a second div, class for a second link in the header? Like the way Brad did at www.thechristiantoolbox.com.

Thanks,

Glen

Quote Greg J:

Heres a variation that does not require anything but a shape.

I have a banner where the logo is embedded in the left side of the banner. I did not want to have to redo the banner. So I thought if I could make the shape a div and make the whole area clickable I would achieve the correct results.

This is what worked for me...

1. Add a header shape to sit over the top of your logo. Resize it accordingly and make a note if the height and width properties for the shape - you will need these later.

2. Change the shape fill to transparent
3. Edit the html for the shape and add the following html code

<div id="my-div"><a href="/" class="fill-div"></a></div>


Now the next step is to make this entire div clickable. Copy and paste the following code into your Export > Options > Custom CSS box

#my-div {

width: 160px;
height: 75px;
}

a.fill-div {
display: block;
height: 100%;
width: 100%;
text-decoration: none;
}


make sure you overwrite the height and width settings with the height and width of your shape


 
Pedro

Posted: 3/18/2013
Quote message 

How could I go about implementing this on a live site? I don't have access to the artisteer file currently, I'm more experimenting than anything serious, but would love to try some things, thanks.
 
Wolfgang

Posted: 3/24/2013
Quote message 

I just put the logo-image in a module with position header and linked it to my homepage. Very easy in Artisteer 4.
 
Tendy

Posted: 3/26/2013
Quote message 

Artisteer 4.1 is giving me much concern seriously, what do I mean here? house this is what is happening. I have been working on just a single template for more than two weeks now "I mean two (2) good weeks on a single template" I've generated so many templates of the same kind. the same look and the same appearance, each time I finish designing my template and install then I import the template contents to joomla 2.5, on successfully installed template and imported of content, the administrator backend menus and sub menus always disappears, I have suffered the same problem for so long and I can't bear it anymore cos I'm not getting what I expected out of Artisteer 4.1 thought its a very good tool for web works. I have tried so many techniques, I mean so many. I re-size the header, remove images I even removed some pages let it not be that its the size of the template come on guys the size is even less than 1MB, and I always upload to test every single action and it works until I noticed that working with vertical menu caused me the last harm meanwhile I don't if there are other bugs. please, Artisteer team should do something about Artisteer 4.1 cos its not really stable yet. Again each time I package a template for installation, when go to Joomla for configurations that may take me sometime them coming back to Artisteer to reflect more changes, Artisteer would show error message and crash of which this always happens after packaging then if I want to make some adjustment and save the template it will just crash and revert to the last saved state. Thanks.
 
Garry

Posted: 3/28/2013
Quote message 

@ Tendy

I'll suggest you to try following instructions for configuring menus: http://www.artisteer.com/?p=help_joomla

 
WalT

Posted: 4/10/2013
Quote message 

Quote TomcatDoc:

Hi Folks,
my $0.02 worth,
Cheers

1)insert an RSS control
controls>RSS
2)set your address and target
leave text and screen tips blank
3)right click on image and choose "options"
4)click on RSS
5)click on RSS presets
6)click on "insert icon from file"
6a)navigate to your local image(make sure your image is the size you want before inserting, resizing later will goof up your image)
7)Insert
8)Preview in browser to test
File>Preview in Browser

Be advised that your new RSS control image will always be the default RSS icon in Artisteer until you switch it back.

Artisteer 4.1.0.59688
Exported as Wordpress Template
Windows 8 running Firefox 17 & IE 10.
one last thing....I can not get the stubborn POS to work in IE8 on XP :*)


TomcatDoc, your solution worked for me. Nice & easy. Thank you.

 
christopher mendla

Posted: 5/29/2013
Quote message 

Mark - Thank you . Your suggestion solved an issue I was having.. Great work and thanks for posting that!!
 
Lori

Posted: 6/6/2013
Quote message 

I have been trying to get my header image to show up on an iPhone. I pasted the code into my style.responsive.css. This sort of fixes the image on the iPad. When the iPad is held horizontally, the header image shows, when the iPad is held vertically, the graphic is way too small. It still does not show up on my iPhone.

This is the code I pasted:

.responsive .art-header
{
max-width:100%;
height: auto;
min-width:320px;
min-height: 80px;
background-position: left center !important;
background-size: 100% !important;
background-repeat: no-repeat !important;
}

My original image is not 100% in width. I have a search bar on the right side of the header area that I don't want to cover.

Help is always appreciated!!! :-)
 
Tonie

Posted: 10/9/2013
Quote message 

1. add your logo by going to Header/image in artisteer
2. place it where you want it
3. Make a shape in the header
4. right click on shape and edit source
5. paste
"<a href="index.php"><img src="empty.png"></a>"
6. add an empty (see through) image in the same size as the shape to the root folder of your homepage named "empty.png"

you will now have a dynamic link, so if you change web adress the lick automaticly points to your index file and you can change your tamplate without changing the code
 
Tonie

Posted: 10/9/2013
Quote message 

1. add your logo by going to Header/image in artisteer
2. place it where you want it
3. Make a shape in the header over the image
4. right click on shape and edit source
5. paste
"<a href="index.php"><img src="empty.png"></a>"
6. add an empty (see through) image in the same size as the shape to the root folder of your homepage named "empty.png"
7. change the transparancy of the shape to 100%

you will now have a dynamic link, so if you change web adress the lick automaticly points to your index file and you can change your tamplate without changing the code
 
Nicj

Posted: 10/9/2013
Quote message 

OR,...

You can use 4.2, where it has a specific control for a logo, and will be visible in the responsive views.
 
Abe

Posted: 1/21/2014
Quote message 

I finally figured out how to add a logo to a shape in the header in Artisteer 4 without using any code
http://www.youtube.com/watch?v=w5YvKCjwQ8k&feature=youtu.be
 
sander

Posted: 2/17/2014
Quote message 

Quote Mark C:


So, the solution:

1) Use the new Header Shapes feature available in Artisteer 4. Add a shape and place an image inside it by editing the shape's HTML (Right click > Edit Source HTML). Make this image into a link and place it on top of the website title. The source code will look something like this:

<a href="http://www.example.com"><img src="http://www.example.com/image.jpg"></a>



How does this work? I did insert a shape in my header, but I can right click all i want (mouse on the shape), but it doesn't give me the option "edit source HTML". My options are "remove shape" and "new slide". What am I missing?
 
Chris

Posted: 3/3/2014
Quote message 

Hi Sander,

I just had to look how i did this, and found it again:
if you have the latest version (4.2 standard edition) you can use the Controls option from the Header menu. It gives you more than just the controls, which is a bit confusing. One of the options is an image link. Choose that one and you can insert an image (or multiple if you like) into your header with a hyperlink.

Hope this helps,
Chris
 
First Prev Page 2 of 2