Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated bottom to top button and all scroll bar get removed from website #602

Merged
merged 2 commits into from
Jul 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chatBot/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.chatbot__button {
position: fixed;
bottom: 35px;
bottom: 70px;
right: 40px;
width: 60px;
height: 60px;
Expand Down
Binary file modified img/iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,8 @@ <h1><label for="faq-6">How can I cancel an order?</label></h1>
</div>
</div>
</div>


<!-- FAQ SECTION ENDS -->

<div class="footer-container">
Expand Down Expand Up @@ -1060,7 +1062,8 @@ <h3 class="chatbox__title">VigyBag 24/7</h3>
</div>
</div>
<!-- chat bot finish -->

<!-- go to top -->
<a class="go-top" href="#"><i class="fa-solid fa-arrow-up fa-lg"></i></a>
<script src="./chatBot/script.js"></script>
<script src="./cart/js/util.js"></script>
<script src="./cart/js/main.js"></script>
Expand Down
30 changes: 29 additions & 1 deletion style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* background color added in HTML */
scroll-behavior: smooth;
transition: 0.5s;
overflow-x: hidden;
/* overflow-x:hidden; */
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

Expand Down Expand Up @@ -1069,4 +1069,32 @@ div.c a {

.popup-details p{
font-size: .6em;
}

/* go to top */
.go-top {
position: fixed;
width: 50px;
height: 50px;
/* color: #2a2a72; */
background: linear-gradient(315deg, #227ebb 100%, #0a1458 20%, #243fe9 60%);
/* -webkit-background-clip: text;
-webkit-text-fill-color: transparent; */
bottom:10px;
right: 45px;
border-radius: 50%;
text-decoration: none;
text-align: center;
line-height: 50px;
color: white;
}
@media (max-width: 769px) {
.gotop{
right: 1.5rem;
}
}
@media (max-width: 426px) {
.gotop{
right: 1rem;
}
}