Post by cy_liang0313 » Tue May 16, 2017 2:26 pm

Hi,

Anyone tell me how to put the image between logo and search box.

I go to the header.tpl to modify, the result is as attached, which is not what I expect. But it seem that it can only add image under the logo, but not behind the logo.

Who know how to figure it out?

New member

Posts

Joined
Tue Mar 14, 2017 5:52 pm

Post by sachin6609 » Tue May 16, 2017 2:29 pm

Hii

Please share the site link and opencart vesrion so i can check and help you

Thanks
Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by cy_liang0313 » Tue May 16, 2017 3:02 pm

sachin6609 wrote:
Tue May 16, 2017 2:29 pm
Hii

Please share the site link and opencart vesrion so i can check and help you

Thanks
Sachin
Hi, Bro

The URL is www.prohealthpillbox.com

Version is 2.3.0.2

Thank you

New member

Posts

Joined
Tue Mar 14, 2017 5:52 pm

Post by sachin6609 » Tue May 16, 2017 3:15 pm

Hii

Happy To help you again

So to do this just open the header.tpl from the below file location

catalog / view / theme / default / template / common and then open the header.tpl

Take the backup of this file first then apply the changes plz

Now serach for the
<div class="col-sm-4"> this line

You can see the logo codeing inside this DIV

So now check the end place of this div

Just add Your Image div where the above div is ended

Just add this div

<div class="col-sm-3">
Your image goes here
</div>

You can send me PM for more detail help

All The Best

Thanks
Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by cy_liang0313 » Wed May 17, 2017 11:30 am

sachin6609 wrote:
Tue May 16, 2017 3:15 pm
Hii

Happy To help you again

So to do this just open the header.tpl from the below file location

catalog / view / theme / default / template / common and then open the header.tpl

Take the backup of this file first then apply the changes plz

Now serach for the
<div class="col-sm-4"> this line

You can see the logo codeing inside this DIV

So now check the end place of this div

Just add Your Image div where the above div is ended

Just add this div

<div class="col-sm-3">
Your image goes here
</div>

You can send me PM for more detail help

All The Best

Thanks
Sachin
Thank you Sachin, it works perfectly.

I have another question, do you think you have solution to change the category name in the menu, to an image? Please kindly see attached.

Thank you for your help.

Attachments

20170517111555.jpg

20170517111555.jpg (30.53 KiB) Viewed 1283 times


New member

Posts

Joined
Tue Mar 14, 2017 5:52 pm

Post by sachin6609 » Wed May 17, 2017 2:20 pm

Hii

To rename the top category name do below one

Login to admin panel

Then go to Categlog->category menu

Then just edit the existing category name and same and check in the front

Thanks
Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by cy_liang0313 » Wed May 17, 2017 3:37 pm

sachin6609 wrote:
Wed May 17, 2017 2:20 pm
Hii

To rename the top category name do below one

Login to admin panel

Then go to Categlog->category menu

Then just edit the existing category name and same and check in the front

Thanks
Sachin
Hi, Sachin

I am sorry for my poor expression. I mean that if it has an solution to replace the catagory name instead of one image to display.

Please kindly see attached.

Attachments

20170517153630.jpg

20170517153630.jpg (36.74 KiB) Viewed 1261 times


New member

Posts

Joined
Tue Mar 14, 2017 5:52 pm

Post by sachin6609 » Wed May 17, 2017 6:59 pm

Hii

No need To say sorry

But why you need to display the image insted of category name

Do you replace all category name to image ??

Thanks
Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm
Who is online

Users browsing this forum: No registered users and 45 guests