Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Reduce top padding above the logo

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello, how can I reduce the padding above the logo, apparently I should be able to edit the theme.royal.css file but it doesn't seems to have any effect.
  • EDUARDO SANCHEZ's Avatar
  • EDUARDO SANCHEZ
  • 6 Month Developer
  • 7 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Do you have a link for the site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
hrmconsulting.mx/index.php

The site is still under development so there is a index.html file to hide the site.
  • EDUARDO SANCHEZ's Avatar
  • EDUARDO SANCHEZ
  • 6 Month Developer
  • 7 posts
  • Karma: 0
The administrator has disabled public write access.
Try adding

#logo img {
margin-top: 0;
}

if that isn't enough try adding

#navwrap {
padding: 10px 0 0;
}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry to ask the obvious... where should I add the code?

Thank you for your help.
  • EDUARDO SANCHEZ's Avatar
  • EDUARDO SANCHEZ
  • 6 Month Developer
  • 7 posts
  • Karma: 0
The administrator has disabled public write access.
Custom.css is probably best for this, here are some jb docs for more info.

docs.joomlabamboo.com/zen-grid-framework-4/theme/customisation

Regards Ian
  • iafdesign's Avatar
  • iafdesign
  • LIfetime Developer - Big Bamboo
  • 393 posts
  • 153 Thanks
  • Karma: 58
The administrator has disabled public write access.
The following user(s) said Thank You: manh
Thanks Ian
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
To enlarge a little on the documentation -

Custom css is new css code you add to your site
its either - new css code or css code to overide an existing template styling

The file it needs to be added to is called custom_rename_to_custom.css or if renamed custom.css (for the file to work it needs to be called custom.css) - this file is protected from being overwritten by template updates

The path to the file is
\templates\template name\css\custom_rename_to_custom.css

via the joomla backend the path is

extensions tab > template manager > Templates (top left in Joomla 3) > "template name" details and files > Edit css/custom_rename_to_custom.css
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello, it looks like the custom.css is not working.

I renamed the file: custom_rename_to_custom.css to: custom.css and added the suggested code:

#logo img {
margin-top: 0;
}
#navwrap {
padding: 10px 0 0;
}
  • EDUARDO SANCHEZ's Avatar
  • EDUARDO SANCHEZ
  • 6 Month Developer
  • 7 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Looks ok to me - I can see the changes applying

Did you refresh your browser cacher?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
You are right! The changes are applying.
What is really weird is that I can't see the changes in custom.css right away, it takes a long time! (I am refreshing the browser cache).
Do you know why?
  • EDUARDO SANCHEZ's Avatar
  • EDUARDO SANCHEZ
  • 6 Month Developer
  • 7 posts
  • Karma: 0
The administrator has disabled public write access.
Do you have server caching enabled?

I always forget when working on siteground as they have it enabled by default on all their servers

supercacher I think its called on their servers

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers