How to remove error about glyphicons-halflings-regular.woff2 not found

This problem happens because IIS does not know about woff and woff2 file mime types. Solution 1: Add these lines in your web.config project: Solution 2: On IIS project page: Step 1: Go to your project IIS home page and double click on MIME Types button: Step 2: Click on Add button from Actions menu:  Step 3: In the middle of the screen appears a window and in … Read more

How to change btn color in Bootstrap

The easiest way to see which properties you need to override is to take a look at Bootstrap’s source code, specifically the .button-variant mixin defined in mixins/buttons.less. You still need to override quite a lot of properties to get rid of all of the .btn-primary styling (e.g. :focus, disabled, usage in dropdowns etc). A better way might be to: Create your own customized … Read more

How to set up fixed width for ?

For Bootstrap 4.0: In Bootstrap 4.0.0 you cannot use the col-* classes reliably (works in Firefox, but not in Chrome). You need to use OhadR’s answer: For Bootstrap 3.0: With twitter bootstrap 3 use: class=”col-md-*” where * is a number of columns of width. For Bootstrap 2.0: With twitter bootstrap 2 use: class=”span*” where * is a number of columns of width. … Read more

What is sr-only in Bootstrap 3?

According to bootstrap’s documentation, the class is used to hide information intended only for screen readers from the layout of the rendered page. Screen readers will have trouble with your forms if you don’t include a label for every input. For these inline forms, you can hide the labels using the .sr-only class. Here is an example styling used: Is … Read more

Vertical Align Center in Bootstrap

Important! Vertical center is relative to the height of the parent If the parent of the element you’re trying to center has no defined height, none of the vertical centering solutions will work! Now, onto vertical centering… Bootstrap 5 (Updated 2021) Bootstrap 5 is still flexbox based so vertical centering works the same way as Bootstrap 4. For example, align-items-center, justify-content-center or auto margins can used … Read more

Left align and right align within div in Bootstrap

2021 Update… Bootstrap 5 (beta) For aligning within a flexbox div or row… ml-auto is now ms-auto mr-auto is now me-auto For text align or floats.. text-left is now text-start text-right is now text-end float-left is now float-start float-right is now float-end Bootstrap 4+ pull-right is now float-right text-right is the same as 3.x, and works for inline elements both float-* and text-* are responsive for different alignment at different widths (ie: float-sm-right) The flexbox utils (eg:justify-content-between) can … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)