Kunena Menu
2 button styles
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
7 years 5 months ago #53137
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
2 button styles was created by trogladyte
I thought I'd be clever and did an inspect on a button. I copied the template CSS then pasted into the Custom CSS area in TC, then added a 1 to the button names. Didn't work, but, and I don't know if it's related (not sure how it would be), now I have one article in the site that has no areas within each block to edit/move/delete etc.
How should I do this to allow for 2 button styles - btn and btn1?
How should I do this to allow for 2 button styles - btn and btn1?
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
7 years 5 months ago #53153
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic 2 button styles
Hi
there is no related here with Template Creator CK ... this is only a CSS lesson
without code and example I can not give you my thoughts about the problem, so please give me the infos
CEd
there is no related here with Template Creator CK ... this is only a CSS lesson
without code and example I can not give you my thoughts about the problem, so please give me the infos
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
7 years 5 months ago #53158
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic 2 button styles
Hey Ced
So the code I see when doing an inspect is:
I changed it to:
So the code I see when doing an inspect is:
Code:
.button, button, button.btn, input.btn, .btn {
border: none;
background: #f2e1ba;
border: #404040 1px solid;
color: #404040;
margin-left: 15px;
padding: 5px;
padding-right: 15px;
padding-left: 15px;
text-align: center;
font-weight: bold;
}
I changed it to:
Code:
.button1, button1, button.btn1, input.btn1, .btn1 {
border: none;
background: #f2e1ba;
border: #404040 1px solid;
color: #404040;
margin-left: 15px;
padding: 5px;
padding-right: 15px;
padding-left: 15px;
text-align: center;
font-weight: bold;
}
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
7 years 5 months ago #53160
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic 2 button styles
ij then you have a new css style "button1", and then ? what are you doing with that ?
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- trogladyte
- Topic Author
- Offline
- Platinum Member
-
7 years 4 months ago #53183
by trogladyte
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Replied by trogladyte on topic 2 button styles
I added the code above in TC under Custom CSS, then tried using btn1 as a CSS class, but it didn't work (didn't show the original or any button styling).
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
7 years 4 months ago #53184
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic 2 button styles
an url of the page with the button ?
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.193 seconds





