2 button styles
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 748
- Thanks: 16
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!
by trogladyte
Please Log in or Create an account to join the conversation.
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
by ced1870
Please Log in or Create an account to join the conversation.
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 748
- Thanks: 16
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!
by trogladyte
Please Log in or Create an account to join the conversation.
ij then you have a new css style "button1", and then ? what are you doing with that ?
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 748
- Thanks: 16
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!
by trogladyte
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Time to create page: 0.661 seconds