Several questions about Language, Top menu, Search Bar, please help, thanks.

Dear friend,

JM lead is very good themes but we have to make some changes to suit our requirement then we need your help.

First, I have added the language choice as your guide in Forum but you can see on our website http://www.herawigs.com that it doesn’t looks very well, we hope language could display in same line with log in and how they align on right?

Second, could you let’s know how to add some static menu meantime with dropdrawn menu? (we need the category menu just want to add some other static menu also)

Third, could you let’s know how to change the dropdrawn menu width?

Four, I have added the search bar on homepage but we want the search bar is same height with left products slider then it will looks beautiful? And I found the search bar is a little wide than nether width so we want to change same width.

Fifth, could you let the search bar have some tips, such as"Press enter after keywords"? Do you understand what I mean?

Yes, it’s some question, but we need to know urgent, so hope you could help us!!! Thanks in advance!

11 answers

congtq 0.00 $tone July 29, 2010
Public

Dear herahairsalon

First, I have added the language choice as your guide in Forum but you can see on our website http://www.herastyle.com that it doesn’t looks very well, we hope language could display in same line with log in and how they align on right?

You try to replace

HTML Code:

<div class="language-switcher">

with

HTML Code:

<div style="float: right; padding-left: 20px;">

Second, could you let’s know how to add some static menu meantime with dropdrawn menu? (we need the category menu just want to add some other static menu also)

Pls read this thread http://www.joomlart.com/forums/showt…l=1#post187961
to know how to add static page to Top Menu

Third, could you let’s know how to change the dropdrawn menu width?

You need to change some css in skin\frontend\default\jm_lead\css\menu.css file

Four, I have added the search bar on homepage but we want the search bar is same height with left products slider then it will looks beautiful? And I found the search bar is a little wide than nether width so we want to change same width.

Fifth, could you let the search bar have some tips, such as"Press enter after keywords"? Do you understand what I mean?

I replied here http://www.joomlart.com/forums/showt…l=1#post188150

Hope above information is useful for you.

#1
Profile photo of Michael Cao 0.00 $tone July 29, 2010
Public

First, thanks for your quick reply.

About the language Switcher, I even add <div style="float: right; padding-left: 10px; padding-bottom: 10px;"> it still there! I have to say, I just add <?php echo $this->getChildHtml(‘store_language’) ?> on header.phtml so this language swither in <div class="shop-access">, not <div class="language-switcher"> so no replace, Do you have other way to let it show more beautiful?

About the static menu, thanks, I have added that on top memu! But I wonder add dropdown static menu also, could you tell me how to do that, just like the navigation menu!

About the dropdown menu width, I have changed as you told me from menu.css, thanks!

#2
Profile photo of Michael Cao 0.00 $tone August 2, 2010
Public

First, thanks for your quick reply.

About the language Switcher, I even add <div style="float: right; padding-left: 10px; padding-bottom: 10px;"> it still there! I have to say, I just add <?php echo $this->getChildHtml(‘store_language’) ?> on header.phtml so this language swither in <div class="shop-access">, not <div class="language-switcher"> so no replace, Do you have other way to let it show more beautiful?

Dear Mr.Congtq, could you help me deal with this problem? Thanks again in advance!

Could

#3
congtq 0.00 $tone August 2, 2010
Public

Hi.

But I wonder add dropdown static menu also, could you tell me how to do that, just like the navigation menu!

If you added

HTML Code:

<a class="" href="http://www.herastyle.com/about-us/"><span>About us</span></a>

you only need to add at very below

HTML Code:

<ul class="level0">
<li><a href="http://www.herastyle.com/url1" class=""><span>Name 1</span></a></li>
<li><a href="http://www.herastyle.com/url2" class=""><span>Name 2</span></a></li>
</ul>

About the language Switcher, I even add <div style="float: right; padding-left: 10px; padding-bottom: 10px;"> it still there! I have to say, I just add <?php echo $this->getChildHtml(‘store_language’) ?> on header.phtml so this language swither in <div class="shop-access">, not <div class="language-switcher"> so no replace, Do you have other way to let it show more beautiful?

Did you replace

HTML Code:

<div class="language-switcher">

with

HTML Code:

<div style="float: right; padding-left: 20px;">

?
You need to remove class="language-switcher".
Pls try again. If you can’t, send PM me a FTP account, I will fix for you.

#4
Profile photo of Michael Cao 0.00 $tone August 2, 2010
Public

Dear Mr.Congtq, thanks for your help and try to fix the problem for me.

But I think it’s better to let me solve that then I will not disturb you in future.

First, about the basic block for menu, I understand you mean but I would like to use the category navigation menu and add one or two static menu with dropdown menu.

The followed is my method to add the menu:

"If you don’t want to show category navigation on top menu, you need to remove all li tags in app\design\frontend\default\jm_morganitetemplate\ catalognavigationtop.phtml file and add custom links as you want.

1. Go to Admin -> CMS -> Pages, click Add New Page. Suppose you set URL Key with "about-us"
2. Open app\design\frontend\default\jm_larixtemplate\cata lognavigationtop.phtml and add this code:
PHP Code:
<li><a href="<?php echo $this->getUrl(‘about-us’);?>"><span><?php echo $this->__(‘About us’) ?></span></a></li>
above </ul>"

I want category navigation and want add static block menu, could you understand me now?

Second, I have searched all files of JM Lead but without <div class="language-switcher"> code, that’s why I don’t know how to place <div style="float: right; padding-left: 20px;">.

As I understand your post from forum, I have add the code like this on header.phtml as "Please open app\design\frontend\default\jm_leadtemplate\page\ html\header.phtml, add following code to your place:" :

<div class="quick-access">
<div class="shop-access">
<strong><?php echo $this->getWelcome() ?></strong>
<?php echo $this->getChildHtml(‘topLinks’) ?>
<div style="float: right; padding-left: 20px;"><?php echo $this->getChildHtml(‘store_language’) ?>
</div>
</div>
</div>

But it doesn’t work.

So I have to disturb you again!
Anyway, I do like your theme and do thanks your every time help. If possible, I want to treat you drink Qingdao beer.

#5
congtq 0.00 $tone August 3, 2010
Public

1. I want category navigation and want add static block menu, could you understand me now?

Don’t remove anything, only following:
1. Go to Admin -> CMS -> Pages, click Add New Page. Suppose you set URL Key with "about-us"
2. Open app\design\frontend\default\jm_larixtemplate\cata lognavigationtop.phtml and add this code:
PHP Code:
<li>
<a href="<?php echo $this->getUrl(‘about-us’);?>"><span><?php echo $this->__(‘About us’) ?></span></a>
<ul class="level0">
<li><a href="http://www.herastyle.com/url1&quot; class=""><span>Name 1</span></a></li>
<li><a href="http://www.herastyle.com/url2&quot; class=""><span>Name 2</span></a></li>
</ul>
</li>
above </ul>"

2.

<div class="language-switcher"> in app\design\frontend\default\jm_leadtemplate\page\ switch\languages.phtml

Replace

HTML Code:

<div class="language-switcher">

with

HTML Code:

<div style="float: right; padding-left: 20px;">

In app\design\frontend\default\jm_leadtemplate\page\ html\header.phtml

Code:

<div class="shop-access">
<strong><?php echo $this->getWelcome() ?></strong>
<?php echo $this->getChildHtml('topLinks') ?>
<?php echo $this->getChildHtml('store_language') ?>
</div>
#6
congtq 0.00 $tone August 27, 2010
Public

Hi, very simple, you only need to reset value of "padding-left"

Code:

<div style="float: right; padding-left: 120px;">
#9
Profile photo of Michael Cao 0.00 $tone August 27, 2010
Public

Dear Congtq, thanks for your quick reply and I have tried that but it doesn’t work. I think it should change CSS of top line, don’t you think so? Please confirm. You can check by http://www.herawigs.com

By the way, could you tell me how to add Google Analytics, I have added the Google Analytics No. on Google API but it seems doesn’t work, if there is any way to add the Google Analytics code directly? Thanks in advance!

#10
congtq 0.00 $tone August 27, 2010
Public

You change as red line in skin/frontend/default/jm_lead/css/theme.css

Code:

.quick-access {
	right: 0;
	position: absolute;
	display: block;
	text-align: right;
	margin: 10px 0 0 0;
	float: right;
}

By the way, could you tell me how to add Google Analytics, I have added the Google Analytics No. on Google API but it seems doesn’t work, if there is any way to add the Google Analytics code directly? Thanks in advance!

You need to have a Gmail account to able to use Google Analytics. Access to page http://www.google.com/analytics/ and create your own code, only follow instruction of Google Analytics.

#11

This question is now closed

Written By

Comments