Different div classes

alt=
@tunefeed
6 years ago
22 posts
Where can I find the templates for div classes or different spans.
To know what exactly it means to have something like
div class="button_player_holder"
div class="wrap detail_section"
or div class="list_buttons clearfix"
getting more familiar with this would help a lot. thanks!
updated by @tunefeed: 05/18/18 08:02:16AM
nate
@nate
6 years ago
917 posts
There is no such thing. Div classes get used by css files and javaScript files.
alt=
@tunefeed
6 years ago
22 posts
Is there any way to know what the different div classes are?
michael
@michael
6 years ago
7,714 posts
You can call any div anything you like
<div class="class1 class2 class3">.....

Then you can use CSS to adjust those classes however you like.
.class1{
 background-color: red;
}
.class2{
 padding: 10px
}
.class3{
 // something else
}

https://www.w3schools.com/cssref/sel_class.asp

or if you like books, Im a big fan of O'Reilly books for learning web development:

Amazon: "O'Reilly: CSS: The Definitive Guide: Visual Presentation for the Web"
https://www.amazon.com/CSS-Definitive-Guide-Visual-Presentation/dp/1449393195/ref=dp_ob_title_bk
paul
@paul
6 years ago
4,326 posts
As Michael says, classes are defined in the various *.css files used by modules and skins. You can view and edit them via the module and skin 'sytle' tabs.
CSS is a website development technique, similar to HTML and Javascript and is outside the scope of Jamroom to document as they are basic tools that are best understood before customising JR templates etc. There will be 1000s of websites teaching CSS out there - remember, Google is your friend ;-)


--
Paul Asher - JR Developer and System Import Specialist

Tags