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.

How to change the Very Top Menu font size?

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

Hi Joomlabamboo team,

The second question
- how to hide the social buttons on mobile screens?
  • Evgeny Filimonov's Avatar
  • Evgeny Filimonov
  • 3 Month Basic
  • 34 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

#topwrap {
font-size: 100%;
}

its currently going off the demo site

#topwrap {
font-size: 85%;
}

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

@media screen and (max-width:480px) {
.social-wrap {display: none;}
}

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

#topwrap {
font-size: 100%;
}

Why does this lines have no effect to top1 position? it is the same section...
How can I control font in top 1?
I know i can do it editing the custom module but I am going to reduce the size of the font on the small screens.
  • Evgeny Filimonov's Avatar
  • Evgeny Filimonov
  • 3 Month Basic
  • 34 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.
eugeneny.bget.ru
  • Evgeny Filimonov's Avatar
  • Evgeny Filimonov
  • 3 Month Basic
  • 34 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

So it would be

#top1 p {
font-size: 1em;
}

changing the font size as required

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thank you, Paul
Let me ask you a stupid question

Where can I read about the rules
why for the first case did you use just
#topwrap {font-size: 100%;}
but now #top1 p {font-size: 1em;}

I really don't want to ask you every time. :-)
  • Evgeny Filimonov's Avatar
  • Evgeny Filimonov
  • 3 Month Basic
  • 34 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

The first style was an attempt to cover all bases but the second style is focussed on the p tag only

The template uses 85% as the style for the whole wrap but targeting a tag is probably better in this case
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Working out the css to add -

We use the Chrome Developer Tools to troubleshoot css issues like this - if sing a PC right click and inspect element

Then you can add the custom css various different ways

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

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Evgeny Filimonov
but why does the first style have no effect on top1 if it should cover all wrap including top1 and top 4?

And sorry for the next question (last one for this case I hope) - i can control fonts now (thanks) but i have the issue with the alignment - the text in top1 and top4 should be aligned but they are not. I don't want to add additional <p> or something like that... what is the reason?
  • Evgeny Filimonov's Avatar
  • Evgeny Filimonov
  • 3 Month Basic
  • 34 posts
  • Karma: 0
The administrator has disabled public write access.
The p tag has a style so its calculating a percentage of that value

I'd suggest removing the percentage value added and instead use the p style we added later

Combined with a style targeting links in the topwrap area #topwrap a {font-size:??;}

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