2 button styles

2 button styles was created by trogladyte

Posted 4 years 9 months ago #53137
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?

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.

Replied by ced1870 on topic 2 button styles

Posted 4 years 8 months ago #53153
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

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic 2 button styles

Posted 4 years 8 months ago #53158
Hey Ced

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.

Replied by ced1870 on topic 2 button styles

Posted 4 years 8 months ago #53160
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.

Replied by trogladyte on topic 2 button styles

Posted 4 years 8 months ago #53183
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.

Replied by ced1870 on topic 2 button styles

Posted 4 years 8 months ago #53184
an url of the page with the button ?

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.661 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1884 guests and 2 members online