AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Richard on October 12, 2014, 01:51:42 PM

Title: Unable to add main store logo
Post by: Richard on October 12, 2014, 01:51:42 PM
Hi Sir ,

I want to add a store logo several times however after the upload button the logo remain missing or unload.

I am using abantecart ver 1.1.9, template default_html5 and uploaded the logo from settings > appearance > store logo.

Is there a specific size and format to upload the store logo ? Thanks


Richard
Title: Re: Unable to add main store logo
Post by: llegrand on October 12, 2014, 03:38:53 PM
since you've posted two upload issues lets start with checking your file permissions to see if you can actually write to a file.
In the documentation (link is above in this board)  look at this section - find the information about file permissions and check the settings for your installation -you can do so via Cpanel or FTP.  Cpanel probably easiest.


http://docs.abantecart.com/pages/install/options/regular_installation.html

See if this solves your issues.

Let us know if it doesn't

Lee, just another happy Abantecart user!
Title: Re: Unable to add main store logo
Post by: Basara on October 13, 2014, 02:58:16 AM
Quote from: Richard on October 12, 2014, 01:51:42 PM
Hi Sir ,

I want to add a store logo several times however after the upload button the logo remain missing or unload.

I am using abantecart ver 1.1.9, template default_html5 and uploaded the logo from settings > appearance > store logo.

Is there a specific size and format to upload the store logo ? Thanks


Richard

Did you click Save button after you change logo?  ;)
Title: Re: Unable to add main store logo
Post by: Richard on October 14, 2014, 09:54:04 AM
Thanks again Lee and Basara  :o

It is super weird, this logo upload issue also got resolve by itself  :-X

Have gone through the documentation guide, I installed Abantecart via cpanel and definitely I have clicked the "save" button after upload the logo. Very strange...maybe got ghost in the script..  ;D
Title: Re: Unable to add main store logo
Post by: Richard on October 14, 2014, 10:02:40 AM
Hi Sir  ;)

Does Abantecart support transparent image logo ? .PNG ?

Thanks
Richard
Title: Re: Unable to add main store logo
Post by: Richard on October 14, 2014, 02:12:55 PM
Hi

The reason why I asked does abantecart support transparent background logo is because I tried to upload an image(transparent background logo) in the back-end and view from the front-end the my logo background is defaulted to white color.

Anyone can advise how can I upload a transparent background store logo ? or is there a method I can have the same background color with my logo image-background ? Thanks

Richard
Title: Re: Unable to add main store logo
Post by: llegrand on October 14, 2014, 02:46:51 PM

You can make header full color - see this post

http://forum.abantecart.com/index.php/topic,1532.msg6023.html#msg6023 (http://forum.abantecart.com/index.php/topic,1532.msg6023.html#msg6023)

A transparent background will let whatever color you have in the logo area of the header show -  you can either use the transparent (and yes takes png)  or change the logo area to your desired background.

Note:  the logo upload is used in more than your website pages -  your customer order notifications,  and i some of the payment extensions, like paypal you can use a logo. 

Lee
Title: Re: Unable to add main store logo
Post by: Richard on November 02, 2014, 09:20:08 AM
Hi Lee ,

I have read through the previous post (http://forum.abantecart.com/index.php/topic,1532.msg6023.html#msg6023).

I have removed string "background-color: #fff" from below

.logo {
   width: 300px;
    background-color: #fff;
   text-align: center;
   height: 72px;
   line-height: 72px

and try to apply a transparent logo(.PNG) but i still get the same outcome where there are still white background around the logo image.

in the stylesheet files for edit: storefront/view/default_html5/stylesheet/style.css

Do i need to change the background color too ?

   .logo img {
      background-color: white;
      padding: 5px;
   }

My objective is to apply a transparent logo image(.PNG) to the header without affecting the background color.

Thanks
Richard
Title: Re: Unable to add main store logo
Post by: Richard on November 02, 2014, 09:45:08 AM
Hi ,

See below screenshot for a better understanding, is there a way i can get rid of the white background ?

i have tried removing "background-color: #fff" from :

.logo {
   width: 300px;
    background-color: #fff;
   text-align: center;
   height: 72px;
   line-height: 72px

reload the page but it seems the white background still there. Looking forward for your reply. Thanks

Richard
Title: Re: Unable to add main store logo
Post by: Richard on November 03, 2014, 10:27:59 AM
Hi ,

May i get help on how to fix this ? This is the only part pending. Thanks

Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 03, 2014, 11:22:51 AM
Hello,have you tried to clear the cache after you edit the css file?
Title: Re: Unable to add main store logo
Post by: Richard on November 04, 2014, 12:13:47 AM
Hi Handoyo ,

Do you mean IE browser cache ? I also did some other minor modification like changing the background color in the CSS but it seems nothing happen when the page is reload.

I am testing in-live mode(online). Making the changes offline and then replace the stylesheet.css file via ftp to my hosting and re-load the page. Nothing seem to happen.

Is the chronology i took to edit the CSS file correct ? any other steps to be taken ? Thanks


Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 04, 2014, 01:12:59 AM
Hi,what i mean is clear the cache from the admin panel.The steps that you have taken is correct,and no need to remove the .logo img background color.As last night i have tested it offline.
Title: Re: Unable to add main store logo
Post by: Richard on November 04, 2014, 02:11:11 AM
Hi Handoyo ,

Where can I clear cache in the admin panel ? Thanks

Richard
Title: Re: Unable to add main store logo
Post by: Basara on November 04, 2014, 02:27:56 AM
Quote from: Richard on November 04, 2014, 02:11:11 AM
Hi Handoyo ,

Where can I clear cache in the admin panel ? Thanks

Richard

AbanteCart cache in Admin-System-Cache (http://www.abantecart.com/ecommerce-documentation/57-admin-user-manual/system/cache)
Title: Re: Unable to add main store logo
Post by: Richard on November 04, 2014, 02:59:09 AM
Thanks Basara ,

Default status under "CACHE ENABLED" is set to on. I need to turn off and on again in order to clear the cache ?

Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 04, 2014, 06:19:21 AM
Hi,on the cache page,just check all the checkbox and click on clear selected cache.Then try to reopen your site to see if there are any changes.
Title: Re: Unable to add main store logo
Post by: Richard on November 04, 2014, 07:34:56 AM
Thanks Handoyo ,

I will try to clear the cache and try again.

Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 04, 2014, 07:38:34 AM
You're welcome.Hopefully it works as expected. :)
Title: Re: Unable to add main store logo
Post by: Richard on November 09, 2014, 06:30:35 AM
Hi Guys ,

It still doesn't work. Same issue.

Can someone help me ? this is the only issue pending so far.... really hope someone could help. Thanks

Richard
Title: Re: Unable to add main store logo
Post by: Richard on November 09, 2014, 06:53:47 AM
Hi All ,

1) Using FTP I download the style.css from remote into my local pc
2) open style.css in notepad in the local pc to edit to remove "    background-color: #fff;"

.logo {
   width: 300px;
    background-color: #fff;
   text-align: center;
   height: 72px;
   line-height: 72px
3) after editing, saved style.css. When i re-open the same file i noticed the text formatting were different from the original html formatting.
4) upload style.css(edited copy) from local PC to remote
5) clear AbanteCart cache in Admin-System-Cache.
6) re-launch store from but the style.css file doesn't seem taking any effect.

I suspect the style.css file is not taking any effect, no matter how i edit it. If this the correct way to edit style.css ? or is there a way to edit style.css within Abantecart admin panel ? or is this a bug ? Really hoping to get advise on how to solve this ? Thanks

Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 09, 2014, 07:10:03 AM
Hi,are you sure that the original style.css was replaced by the uploaded one?Please recheck the style.css from your cpanel.
Title: Re: Unable to add main store logo
Post by: Richard on November 09, 2014, 10:21:22 AM
Hi Handoyo ,

Thanks for your input.
I just find out that i have been logging in to a wrong ftp site and updating a wrong style.css  :-X

I will try updating to the correct path again... will update result again  ::)

Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 09, 2014, 11:18:34 AM
You're welcome.Hope it works this time. :)
Title: Re: Unable to add main store logo
Post by: Richard on November 10, 2014, 12:02:50 PM
Hi ,

I have tried updating to the correct style.css but it still doesn't work.

I'm not sure if i have mess up my style.css file, can someone help to send me an original style.css file(HTML5) ? I plan to edit using a brand new style.css...

Thanks
Richard
Title: Re: Unable to add main store logo
Post by: yonghan on November 10, 2014, 12:15:51 PM
You can download it here

https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/view/default_html5/stylesheet (https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/view/default_html5/stylesheet)
Title: Re: Unable to add main store logo
Post by: Richard on November 11, 2014, 08:34:42 AM
Handoyo, thanks !
Title: Re: Unable to add main store logo
Post by: yonghan on November 11, 2014, 09:05:51 AM
You're welcome. :)
Title: Re: Unable to add main store logo
Post by: Richard on November 13, 2014, 02:32:45 PM
Hi Handoyo and all ,

I have tried to update the style.css from /public_html/storefront/view/default_html5/stylesheet/style.css Cpanel and clear admin panel cache but it is still the same.

I have updated the content of style.css file via cpanel(live-mode) and tried via FTP client but it seems that the newly updated style.css file is not taking effect.

Can someone please advise on how to solve this, please ? this is the last part for me and I have tried so many suggested ways to fix this but till no resolution. Is there anything i miss out ? After applying changes to style.css file, is there some setting in admin panel i need to disable or enable (beside clearing cache) ?

Alternatively, can someone send me a style.css which already modified ? example like header color is changed(different color from the default html5 template) so i can tried insert/upload to my site and see if this file will take effect ?

Really hope the main logo issue can be solve  :-[

Someone who is seeking desperate help ,
Richard
Title: Re: Unable to add main store logo
Post by: Richard on November 13, 2014, 02:42:07 PM
Hi Guys ,

It is ok now. This is resolve  ;D

Just for sharing, I was using Chrome and IE browser.
These browser didn't really showing the after changes effect even I have clear the cache in the admin panel.
For the style.css file to take effect, you need to clear the cache in admin panel and as well as cache in your local browser then try launch with a new browser.

Sweating.... Thanks

Richard