Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "DesignNow" Joomla template

Topic-icon Renaming the "top panel"

More
6 years 1 month ago #7293 by laurent
laurent created the topic: Renaming the "top panel"
Hello,

How can i change the "open" and "close" words in the top panel?

Thanks

Please Log in to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #7295 by pirossi
pirossi replied the topic: Re: Renaming the "top panel"
First open templates\hot_designnow\index.php and change line 241:
<div id="sub-panel"><a href="#" id="toggle"><span id="shText">Open</span></a></div>
Instead of 'Open' enter desired caption.

After that edit templates\hot_designnow\js\toppanel.js:
jQuery(document).ready(function(){
	jQuery("#sub-panel").click(function(){
		jQuery("#top-panel").slideToggle();	
		var el = jQuery("#shText");  
		var state = jQuery("#shText").html();
		state = (state == 'Close' ? '<span id="shText">Open</span>' : '<span id="shText">Close</span>');					
		el.replaceWith(state); 
	});
});
And there change both appearances of word 'Close' and one instance of word 'Open' with desired words. Save & that is that.
Last Edit: 6 years 1 month ago by pirossi.
The following user(s) said Thank You: laurent

Please Log in to join the conversation.

Time to create page: 0.159 seconds

Links, Partners and Social Media