Coder Social home page Coder Social logo

Comments (8)

crftwrk avatar crftwrk commented on May 23, 2024

Hi Andrew,

please share a link to your site to check.

from bootscore.

pandanas69 avatar pandanas69 commented on May 23, 2024

Https://Freetowork.co.nz

Thanks

from bootscore.

crftwrk avatar crftwrk commented on May 23, 2024

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.

pandanas69 avatar pandanas69 commented on May 23, 2024

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.

crftwrk avatar crftwrk commented on May 23, 2024

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.

pandanas69 avatar pandanas69 commented on May 23, 2024

I see. Cool, thanks. Keep up the good work! Much appreciated.

Andrew

from bootscore.

pandanas69 avatar pandanas69 commented on May 23, 2024

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.

crftwrk avatar crftwrk commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.