-
Notifications
You must be signed in to change notification settings - Fork 2
/
newsportal.html
296 lines (248 loc) · 8.04 KB
/
newsportal.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
---
layout: doc-layout
title: Newsportal HTML Template
theme_name: Newsportal
keywords: HTML5 template, responsive and Creative HTML5 Template , clean and minimal, newsportal, news, post,
buy: https://www.electronthemes.com/products/newsportal
demo: https://newsportal.electronthemes-ghost.com/
thumbnail: newsportal/newsportal-1.jpg
---
# {{page.title}}
{% include support.html %}
## Included Files & Sources
```
Zenifer
│ Documentation
│ Theme-file
│ │ .html
│ └───assets
│ │ css
│ │ fonts
│ │ img
│ │ js
```
## Run SASS and Gulp
We developed this theme using scss and gulp. We have included SCSS and gulp file in the theme file. To work with this file, you have to ensure your computer has already installed `nodeJS` and `gulp` globally.
1. Download NodeJS from <a href="https://nodejs.org/en/download/" target="_blank">here</a> and install
2. Install gulp globally `npm install gulp-cli -g`
3. Download sass from here [SASS](https://sass-lang.com/) and install
Now check the version of Node, Gulp, sass.
*Node: `node -v`
*Gulp: `gulp -v`
*SASS: `sass --version`
Now to run the theme file, install Node packages. run
1. `npm install`
2. `npm run build`
3. `npm run start`
###### Adding new plugins using gulp
You can add new js plugin's js and css using gulp file. All external css and js files are called in `gulpfile.js`. You can add new files and run `npm run build && npm run start`
## CSS & Scripts
You will get all css and scripts in the assets folder. CSS files in `css` folder and JS scripts in `js` folder. All css and JS plugins file are compressed. I have compressed that for loading fast. **If you need uncompressed file, please send us message or mail us. We will send the uncompressed files.**
ALL CSS files:
```
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="assets/css/components.css" media="all" />
<link rel="stylesheet" type="text/css" href="assets/css/style.css" media="all">
```
Script files:
```
<!-- Jquery scripts -->
<script src="assets/js/plugins-min.js"></script>
```
## Helper classes:
You will get all helper tools here. We have used bootstrap color, backgraound, spacing classes. We made some extra
helper classes for best uses.
#### Color classes:
**uses:**
```
<div class="text-primary"></div>
<div class="text-secondary"></div>
<div class="text-white"></div>
<div class="text-heading"></div>
<div class="text-paragraph"></div>
<div class="text-gray"></div>
```
Reference: `text-[value]`
<br>
value: `primary|secondary|white|heading|paragraph|light-gray|gray|light-pink|pink|blue|dimond-blue|red||`
#### Backgraound classes:
**uses:**
```
<div class="bg-primary"></div>
<div class="bg-dark-primary"></div>
<div class="bg-secondary"></div>
<div class="bg-white"></div>
<div class="bg-heading"></div>
```
Reference: `bg-[value]`
<br>
value: `primary|secondary|light-black|white|heading|gray|dimond-blue|smoke|deep-purple|purple|light-purple|`
#### Font weight classes:
**uses:**
```
<div class="fw-700"></div>
<div class="fw-600"></div>
<div class="fw-500"></div>
```
Reference: `fw-[value]`
<br>
value: `700|600|500|400|300|`
### Spacing classes:
#### Padding classes:
**uses:**
```
<div class="pt-10">padding top</div>
<div class="pb-15">padding bottom</div>
<div class="pl-10">padding left</div>
<div class="pr-10">padding right</div>
<div class="px-10">padding left right</div>
<div class="py-10">padding top bottom</div>
```
Reference: `p-[value]`
<br>
<br> t for `top`,
<br> b for `bottom`,
<br> l for `left`,
<br> r for `right`,
<br> x for `left-right`,
<br> y for `top-bottom`,
<br>
<br>
value: `10|15|20|25|...|195|200`
#### Margin classes:
**uses:**
```
<div class="mt-10">margin top</div>
<div class="mb-15">margin bottom</div>
<div class="ml-10">margin left</div>
<div class="mr-10">margin right</div>
<div class="mx-10">margin left right</div>
<div class="my-10">margin top bottom</div>
```
Reference: `m-[value]`
<br>
<br> t for `top`,
<br> b for `bottom`,
<br> l for `left`,
<br> r for `right`,
<br> x for `left-right`,
<br> y for `top-bottom`,
<br>
<br>
value: `10|15|20|25|...|195|200`
#### Media query padding classes
**uses:**
```
<div class="pt-xs-10">Extra small devices (portrait phones, less than 576px)</div>
<div class="pb-sm-10">Small devices (landscape phones, 576px and up)</div>
<div class="pl-md-10"> Medium devices (tablets, 768px and up)</div>
<div class="pr-lg-10">Large devices (desktops, 992px and up)</div>
<div class="px-xl-10">Extra large devices (large desktops, 1200px and up)</div>
```
Reference: `p-[size]-[value]`
<br>
size: `xs|sm|md|lg|xl|`
<br>
value: `10|15|20|25|...|195|200`
#### Media query margin classes
**uses:**
```
<div class="mt-xs-10">Extra small devices (portrait phones, less than 576px)</div>
<div class="mb-sm-10">Small devices (landscape phones, 576px and up)</div>
<div class="ml-md-10"> Medium devices (tablets, 768px and up)</div>
<div class="mr-lg-10">Large devices (desktops, 992px and up)</div>
<div class="mx-xl-10">Extra large devices (large desktops, 1200px and up)</div>
```
Reference: `m-[size]-[value]`
<br>
size: `xs|sm|md|lg|xl|`
<br>
value: `10|15|20|25|...|195|200`
#### Width classes
**uses:**
```
<div class="width-10"></div>
<div class="width-20"></div>
<div class="width-30"></div>
```
Reference: `width-[value]`
<br>
value: `10|20|30|40|...|190|200`
#### Max-width classes
**uses:**
```
<div class="maxw-50"></div>
<div class="maxw-100"></div>
<div class="maxw-150"></div>
```
Reference: `maxw-[value]`
<br>
value: `50|100|150|...|1050|1100`
#### Height classes
**uses:**
```
<div class="height-10"></div>
<div class="height-20"></div>
<div class="height-30"></div>
```
Reference: `height-[value]`
<br>
value: `10|20|30|40|...|190|200`
#### Max-height classes
**uses:**
```
<div class="maxh-10"></div>
<div class="maxh-20"></div>
<div class="maxh-30"></div>
```
Reference: `maxh-[value]`
<br>
value: `10|20|30|40|...|390|400`
<br>
#### Instagram feed changing
You can change your instagram feed after only changing with your username of instragram. Change instagram username from `scripts.js` file.
**uses:**
```
$.instagramFeed({
'username': 'electronthemes', // change only username of your instagram
'container': ".instagram-gallary",
'items': 6,
'display_gallery': true,
'styling': true,
'items_per_row': 3,
margin: '1'
});
```
<br>
### Source & Credits
#### Images
All images are only for demonstration purpose, however you can re-download them in sites below. Almost all (not including overclothing.com, Daniel Zenda, Freepik etc...) images are released free of copyrights under Creative Commons CC0.
* [Pexels](https://www.pexels.com/)
* [Unsplash](https://unsplash.co)
#### CSS & Fonts
Use this `CSS` & `fonts` reference you can update `css` & `fonts` to customize your design.
* [Bootstrap Framework](http://getbootstrap.com/)
* [Bootstrap-select](https://developer.snapappointments.com/bootstrap-select)
* [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
* [Google Fonts](https://www.google.com/fonts)
* [ElegantIcons](https://github.com/heimrichhannot/elegant-icons)
* [Flipclock](http://flipclockjs.com/)
* [Owl Carousel v2.3.4](https://owlcarousel2.github.io/OwlCarousel2/)
* [Slicknav](https://slicknav.io/)
* [Aos Animation](https://michalsnik.github.io/aos/)
* [Animation](http://daneden.github.io/animate.css/)
#### Scripts
Use this `jquery` scripts reference you can update `jquery` to modify your design.
* [jQuery](http://www.jquery.com/)
* [jquery-migrate](https://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/3.0.1/jquery-migrate.min.js)
* [Bootstrap](https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js)
* [Popper](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js)
* [Bootstrap-select](https://developer.snapappointments.com/bootstrap-select)
* [Owl Carousel v2.3.4](http://www.owlcarousel.owlgraphic.com/)
* [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
* [Flipclock](http://flipclockjs.com/)
* [Slicknav](https://slicknav.io/)
<br>
<br>
# Don't forget to add 5 star rates on our product
⭐⭐⭐⭐⭐