• Resolved jaligator

    (@jaligator)


    Hi,
    i am work with Tiny Framework since some weeks (beginner) and have made also a own child-theme. So far all my changes will work in my own styles and js-skripts without any problems.
    But now i have included bootstrap 3.5.5 in my own functions (local on xampp) and i have a questions please:
    All skripts are be loaded correctly (bootstrap, the tiny styles (as parent) and my own skripts – also in the correct sequence. But some css styles (fonts) show now smaller as without bootstrap: 1rem (16px) are much more smaller (0.875rem) if i use rem instead of px – did you have an idea why? my changes work in my chlid-css style but i could not understand why this comes, and i load my child-style behind the bootstrap!

    Something from Bootstrap is also new for my – for that matter i will only use the grid-system at first, maybe later some other things- what is the best to work in this framework with bootstrap? to use a plugin, or the bootstrap customizer or is the work with bootstrap in this framework not recommendable?

    Thanks for your help and kind regards
    jaligator

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jaligator

    (@jaligator)

    Hi,
    ok, i have now customize a bootstrap (http://getbootstrap.com/customize/ – only with Grid-System and Breakpoints) and test it.
    I have now changed the font-size: 10px; into the bootstrap.css to:
    html {
    font-size: 16px;
    font-size: 1rem;
    }
    and my font-size from child-theme are now correctly (as 1rem) – but i dont know what appears if i use in future the grid-system with this config…? That can not be the correct way, right?

    Theme Author Tomas Mackevicius

    (@tomasm)

    Hi,

    Bootstrap, as every other additional component is another layer on top of the theme. I use Bootstrap CSS for buttons and some other elements, but most likely to include it in its entirety is not very efficient.

    I would say, if you like bootstrap a lot, it would make more sense to use a theme that is originally built using Bootstrap. This way you would not deal with different approaches that will be competing and conflicting with each other and would avoid overhead in terms of speed and performance.

    Thread Starter jaligator

    (@jaligator)

    Hi Tomas,

    thank you for your quick response. Now I found your Theme very good and I have use for the first time your theme. Now I have include bootstrap – but only the grid css (only the @media questions with the “col”-classes) because i need a possibility for structure divs in responsive mode on few single sites. This works now without a problem. Unfortunately, only after I have already created half of the website has the design still changed, which then makes such solutions necessary. As soon as the child-theme goes online, I will send you a link – but please do not scare, it has now been adapted very much.

    Thank you very much
    jaligator

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bootstrap and Tiny Framework’ is closed to new replies.