Recent searches
No recent searches

Diziana
Joined Apr 15, 2021
·
Last activity Feb 04, 2022
Following
0
Followers
0
Total activity
4
Votes
0
Subscriptions
2
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Diziana
Diziana commented,
Benoit
Apply this code but pay attention on class name - blocks-list and blocks-item .
Class name is same in the images which I have given above.
.blocks-list {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
@media (min-width: 768px) {
.blocks-list {
margin: 0 -15px;
}
}
.blocks-item {
display: flex;
flex: 1 0 340px; //you can change this flex property width for number of blocks
margin: 0 0 30px;
max-width: 100%;
text-align: center;
}
@media (min-width: 768px) {
.blocks-item {
margin: 0 15px 30px;
}
}
If you want 3 blocks in one row side by side then flex property should be flex: 1 0 340px
If you want 4 blocks in one row side by side then flex property should be flex: 1 0 240px
By using this given code your blocks will be mobile responsive.
If any issue let me know :)
Thank You
Team Diziana
View comment · Posted Nov 02, 2019 · Diziana
0
Followers
0
Votes
0
Comments
Diziana commented,
Hey Juste
You can try this code for your given template design , I edit this code at default Copenhagen theme .
Step 1 : At home.hbs page you have to remove these all code from line no - 1 to 5
And paste below code :
FAQ! Need help?
We've got you coveredTrack my Order
{{search class='search search-full'}}
Step 2 : At script.js page you need to add this code bottom of the page :
$("form.search input[type=submit]").attr("value", "TRACK");
Step 3 : At home.hbs page copy below code :
{{#is name 'Using Guide'}}
{{/is}}
{{#is name 'Business Rules'}}
{{/is}}
{{#is name 'Configuration'}}
{{/is}}
{{#is name 'Using Support'}}
{{/is}}
{{#is name "JUST GET STARTED?"}}
{{/is}}
{{#is name 'Getting Started'}}
{{/is}}
And replace line no. 26
Step 4 : At document.hbs page you need to add this font awesome icons library :
crossorigin="anonymous">
Step 5 : At style.css page you have to edit the code carefully :
first : line no. 732 - remove background-image property
And apply this background-color property :
.hero{
background-color: #f8dfdf;
}
Second : Line no 689 - remove border-radius :
Step 6 : Copy below code and paste it at bottom of style.css page :
.blocks-item {
border: 1px solid #f8dfdf;
background-color: #f8dfdf;
padding: 10px 0;
}
.blocks-item h4 {
color: #000000 !important;
}
.blocks-item i.fas {
font-size: 40px;
margin-bottom: 10px;
color: #000000;
}
.search {
width: 100%;
display: flex;
}
.hero {
background-color: #f8dfdf;
height: 100px;
}
.hero-inner {
display: flex;
max-width: 710px;
}
.hero-inner p {
width: 30%;
margin: 9px 0;
}
.header-text h1,
.header-text h3 {
text-align: center;
margin-bottom: 0;
font-family: 'Dosis', sans-serif;
font-weight: 500;
}
.header-text h3 {
margin-bottom: 30px;
}
.hero-inner input[type="submit"] {
background-color: #000000;
min-width: 90px;
margin-left: 11px;
height: 40px;
border-radius: 0;
}
.hero-inner input[type="submit"]:hover {
background-color: #0000008c;
}
.search::before {
display: none;
}
second : At style.css page you need to edit font family in body tag line no - 10 :
I selected 'Donis' , sana-serif .
You can choose as per your requirements go to the google font website - https://fonts.google.com/
and choose any font-family.
Now you can see -
Thank You.
View comment · Posted Jul 20, 2019 · Diziana
0
Followers
0
Votes
0
Comments