Kunena Menu
Change colour of header tags in specific wrappers?
- easistudio
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 123
- Thank you received: 5
10 years 9 months ago #32861
by easistudio
Change colour of header tags in specific wrappers? was created by easistudio
I have set the colour of header tags in the parameters but in the bottom 2 wrappers (I have 5), I need to use a different colour. Please could tell me the correct syntax to put in the custom CSS?
Please Log in or Create an account to join the conversation.
10 years 9 months ago #32862
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Change colour of header tags in specific wrappers?
Hi
in parameters >> custom css you can write something like
CEd
in parameters >> custom css you can write something like
Code:
#wrapper2 h3 {
color: red;
}
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- easistudio
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 123
- Thank you received: 5
10 years 9 months ago #32870
by easistudio
Replied by easistudio on topic Change colour of header tags in specific wrappers?
If I wished to put this code in the CSS of the particular wrapper, is that possible? I have been trying to change the colours on all the headers H1-H6 but none of my code works.
Please Log in or Create an account to join the conversation.
10 years 9 months ago #32871
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Change colour of header tags in specific wrappers?
like said you must put this code into
in parameters >> custom css
in parameters >> custom css
Joomlack Webmaster and Developer
The following user(s) said Thank You: easistudio
Please Log in or Create an account to join the conversation.
- easistudio
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 123
- Thank you received: 5
10 years 9 months ago #32913
by easistudio
Replied by easistudio on topic Change colour of header tags in specific wrappers?
Ahhh... I have just spotted the following "The code here will not be applied into the interface but into the real preview or directly into your template."
I was swearing (in English as I only know one in French and it's a bit tame) for most of yesterday evening but in fact my efforts were working after all.
I was swearing (in English as I only know one in French and it's a bit tame) for most of yesterday evening but in fact my efforts were working after all.
Please Log in or Create an account to join the conversation.
- easistudio
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 123
- Thank you received: 5
10 years 8 months ago - 10 years 8 months ago #33591
by easistudio
Replied by easistudio on topic Change colour of header tags in specific wrappers?
There is something very odd happening as in the parameters settings, I have set the color of h1-h6 to #74000d but also added the below in Parameters > Custom CSS:-
The problem is all my h tags in other wrappers are now #f38630 when surely they should still be #74000d.
Edit:
Once again I find the answer seconds after posting question. I should be putting #lowerwrapper in front of each h tag size.
Code:
#lowerwrapper h1, h2, h3, h4, h5, h6
{
color: #f38630;
}
The problem is all my h tags in other wrappers are now #f38630 when surely they should still be #74000d.
Edit:
Once again I find the answer seconds after posting question. I should be putting #lowerwrapper in front of each h tag size.
Code:
#lowerwrapper h1,
#lowerwrapper h2,
#lowerwrapper h3,
#lowerwrapper h4,
#lowerwrapper h5,
#lowerwrapper h6
{
color: #f38630;
}
Last edit: 10 years 8 months ago by easistudio. Reason: Found answer
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds





