Change height of top-bar1 and top-bar2

More
4 years 7 months ago #7427 by Richardson
Richardson created the topic: Change height of top-bar1 and top-bar2
I am new to JM and EF4 so please go easy on me.

I am building a new website for our club and would like the top-bar positions to display the logo and a short menu.
I have already placed a blank position into top2-1 position which I now have place directly below top-bar. This prevents images in header position from being obscured by top-bar.

What I need now is to increase the height of top-bar from 50px to 120px.
I have checked it in firebug and the file I am looking for is index.php #3 but I cannot find it.

Is there any way this can be done?

Thanks

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #7433 by marcin
marcin replied the topic: Change height of top-bar1 and top-bar2
Hello,

1) In your Joomla back-end go to Extensions -> Template Manager -> jm-services -> Advanced Features and enable the Developer Mode.

2) Edit the following file:
/templates/jm-services/less/template_variables.less
Enter your desired height value for the @JMtopbarHeight variable.

3) Save file, refresh your site and disable the Developer Mode.

Developer Mode should be enabled only when modifying the template LESS files. This way all LESS files are compiled to CSS files on each page refresh.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #7437 by Richardson
Richardson replied the topic: Change height of top-bar1 and top-bar2
Hi Marcin
Thank you for your reply.

I have located the file but there is no reference to @JMtopbar in the file at all.
I have double checked and it is the correct file, developer mode is on.

I access the file via both joomla template manager and ftp but still no reference to @JMtopbar.

Am I doing something wrong?

Regards

P.S. file attached

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #7447 by marcin
marcin replied the topic: Change height of top-bar1 and top-bar2
Hello,

Please update your template and EF4 framework to the latest version.
The latest version you will find in the download area.

Here is a screenshot of template_variables.less file:



Regards,
Marcin
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #7474 by Richardson
Richardson replied the topic: Change height of top-bar1 and top-bar2
Thank you once again for your reply.

You were correct and both needed updated.

I have updated the EF4 plugin via the extension manager with out an issue but when I try to update the template the same way I get the message

"- 1 an error has occured, copy failed"
I assume this is something to do with permissions but I have been unable to find where or why.
Can I replace the template via ftp to get round this problem?
If the answer is yes, Which folders need to be replaced as I don't want to lose my images etc.

Thank again

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #7475 by marcin
marcin replied the topic: Change height of top-bar1 and top-bar2
Hello,

You cannot overinstall the template package on the existing one.

1) You can uninstall the old one and install the new one.
In the Settings Storage tab you can save your template parameters and then load them on the new template. This way you will save some time on configuration.

or

2) You can upload updated files only. Please check the changelog for more details:
www.joomla-monster.com/template-updates/...omla-3-0/jm-services

Regards,
Marcin

Please Log in or Create an account to join the conversation.

Time to create page: 0.457 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.