Comments (8)
Hi Andrew,
please share a link to your site to check.
from bootscore.
Thanks
from bootscore.
Hi Andrew,
please check here the header documentation https://bootscore.me/documentation/header-php/ too.
Header uses fixed-top
as described in #26. Search uses collapse
component. In combination with header class the search cover the content. If you want to push content down instead of overlapping when opening the search-form, just remove fixed-top
class.
You have this custom CSS on your site:
@media (min-width: 768px)
.searchform {
max-width: 50% !important;
float: right;
}
This will crash your search-form.
from bootscore.
Hi,
Thanks for your help. I added that as the search form takes up full width on desktop. How do you mean, will crash?
from bootscore.
It affects behavior of the collapse component. Collapse opens inside the parent div and is full-width. When you set the width of the searchform to 50% that looks a bit weird. If you want to make this different, you can use dropdown component instead of collapse https://getbootstrap.com/docs/5.1/components/dropdowns/.
Just an idea...
from bootscore.
I see. Cool, thanks. Keep up the good work! Much appreciated.
Andrew
from bootscore.
Sorry to bug you, I'm sure your busy but one more thing please before I close these 'issues' for the life of me I can't get the logo to just the right size before the nav spills over under it on mobile. I've tried resizing the .svg and adding css to no avail. I guess it's probably not a good idea to have small lettering in a logo but still..
I've tried padding:0;; margin:0; position:relative; any thoughts?
Thanks so much!
from bootscore.
Origin .svg logo has a height of 27px to fit perfectly into the navbar. But you can use any size by sizing your logo or add some CSS.
.logo.md {
height: 80px;
}
When you resize the logo, this will affect content as well which you have to fix with Bootstrap classes or custom CSS.
Theme uses the basic Bootstrap Navbar Component, but you can (you should) build everything you want of it by changing the HTML classes in header.php
. A good example how to make a cool header with bootScore theme is this site.
from bootscore.
Related Issues (20)
- Pagination loads sr-only span, which is deprecated in BS 5.3 HOT 2
- Update all occurrences of wp_localize_script to wp_add_inline_script HOT 3
- HTML5 compliance for pagination HOT 1
- Refactor the logo
- [BUG] Description Sidebar LEFT HOT 1
- Remove sidebar single-product
- [Feature Request] Quantity Swatches for sidebar cart (no reload) HOT 1
- Get wp_title() in header.php HOT 5
- Rewrite main.scss
- Matomo Wordpress-Plugin
- Woocommerce add to cart restrictions
- [Feature Request] Remove limitation wpsites_query HOT 3
- [BUG] Not able to scroll page using Divi page editor on Tab and Mobile view HOT 7
- Overwrite SCSS variables
- [BUG] Woocommerce Products Shortcode HOT 3
- Unable to style an active navbar item
- Unable to close a photo from the media gallery when enlarged or go back HOT 9
- Create assets folder HOT 4
- [BUG] Potential Woocommerce Bug in the Slide out Basket HOT 2
- [BUG/Help Wanted] Pagination for Post HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootscore.