Shape 5

Joomla Templates => Risen Hope - Club => : abrill June 04, 2018, 11:32:06 AM



: Menu Titles
: abrill June 04, 2018, 11:32:06 AM
How do we default the page menu titles to H1 rather than H2? 


: Re: Menu Titles
: mikek June 05, 2018, 07:16:11 AM
Hello,

That's output by Joomla itself, not the template. It would require you creating a com_content override, which would require custom programming, nor would I recommend it. We do not provide services like this as part of our support.


: Re: Menu Titles
: abrill June 06, 2018, 03:42:51 PM
Ok, can you tell me how to resize h2 used inside an article? I put this in my custom.css but it's not resizing:

#s5_component_wrap_inner h2 {
   font-size:2.4em !important;
}


: Re: Menu Titles
: mikek June 07, 2018, 05:30:17 AM
Hello,

It's already 2.4em in template.css so your css would make no change:

#s5_component_wrap_inner h2, #s5_component_wrap_inner h1 {
    font-size: 2.4em;
}


: Re: Menu Titles
: abrill June 07, 2018, 09:44:33 PM
Yes, sorry about that.  I copied the template css style but I am trying to alter that code for just the h2 and not the h1 size. How do I do this?


: Re: Menu Titles
: mikek June 08, 2018, 05:46:30 AM
You would just remove the h1 from the call and add it to custom.css, but again you had your code set to 2.4 and it's already set to 2.4, you would need something higher like:

#s5_component_wrap_inner h2 {
   font-size:3.0em !important;
}

I wouldn't recommend going much larger, 2.4 is already pretty large.


: Re: Menu Titles
: abrill June 08, 2018, 06:09:22 AM
Thank you.  I do have it set in custom.css but nothing changes.  I've cleared browser and joomla cache and it's both on my local server and live site. 


Here is what I have in custom.css:

#s5_component_wrap_inner h2 {
   font-size:2.0em !important;
}

It seems like none of my css styles for text change....

https://thefarmershouse.org/social-enrichment


: Re: Menu Titles
: mikek June 11, 2018, 06:54:30 AM
Hello,

Those are H1's not H2's. You would need to adjust your code for H1's.