Custom classes |
Post Reply |
Author | |
CineTV
Newbie Joined: Feb 03 2020 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: Feb 03 2020 at 12:41pm |
Hi, I'm wondering on how exactly we can use Custom Classes If somebody know the syntax, how we should fill the fields Mainframe, contents and in some case button.. Waiting for your knowledge and help Best regards
|
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
Select the targetted element.
In the properties menu, in the lower right corner of the screen, add a specific name in Custom Classes Then in the upper left corner of the working area, click on source code Click on the plus sign to create a new CSS code block in header position
|
|
CineTV
Newbie Joined: Feb 03 2020 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi, Thanks for your reply. I'm still little bit confuse. In which field we should enter the class name in the Main frame field or in the Content field and what about Button that is sometimes the third field of the custom classes depending of the type of element. If you can detail what I have to put in each fields in the window that appears after clicking on the the three dots) Thanks in advance |
|
CineTV
Newbie Joined: Feb 03 2020 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
And sorry, also how we should name the class : between quote or just the name any special format ?
|
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(0)
|
Create a blank page Drag and drop a group of elements As long as it's selected you will see this group of element's properties on the right part of your screen. In the lower right part, you can see the Expert zone The third field is named Custom Classes. That's where you put the class name of your choice. -------------------------------------------- Example: Class name enterred in the field: MyDream CSS code added in the editor
Therefore the group of elements will show a red background and a solid, 3 pixels whide and black border. For more information about CSS, I suggest you to read about it on https://www.w3schools.com/css/ |
|
Hobby001
Admin Group Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6209 |
Post Options
Thanks(1)
|
Put in the name of your choice. You can add more than one class. They only need to be separated by space. Example: MyPreferredClassName MySecondClass MyFunnyClass
|
|
CineTV
Newbie Joined: Feb 03 2020 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi, Okay... all right... I tested and it works like a charm. I was confused by the fact that "content" for me was refering to a class content I didn't notice that in fact it was referring to the zone of an element. Also to be honest the difference between mainframe and content zone in OpenElement is still not really clear for me :-( Even tested a little hack by adding something like that and it works well also : " style="padding-bottom:130px; the " close the class list and the original one close the online style command" thanks for all your advices
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |