I use this template for bootstrap http://bootswatch.com/yeti/, so I have bootstrap.css but I want turn off responsive features completely for web. The main problem is in navbar - if I change the window size the navbar starts looks bad.
I need advice - have I do some changes in css file, or in web template only? My web where I solving this problem http://playground.jsreport.net/
Related
Im relatively new to web development working on creating a website using React JS.
Im really not able to figure out how I can make the elements on the website resize or arrange themselves nicely when the window gets resized, or appear like when viewed from a mobile device.
Like all the elements adjust themselves based on vh and vw when the window size decreases/increases diagonally, however if the vh stays the same and vw changes, everything ends up all over the place.
Are there any plugins or anything ReactStrap related that can help me achieve this dynamic resizing and fitting? OR should i use tools like wordpress which seem to automatically take care of this issue rather than me manually writing all the HTML and CSS for the website.
Thank you
You can use Bootstrap to create a Responsive web-page. For React users they have the React bootstrap, without jQuery dependency- https://react-bootstrap.github.io/.
Please try this for a fully responsive webpage. For a responsive grid layout you can use Bootstrap grid sysytem - https://getbootstrap.com/docs/4.0/layout/grid/
#yolopolo you could also do that by learning how to make a website responsive depending on the device's screen. Please check this one out: https://www.w3schools.com/css/css_rwd_intro.asp
and test your webpage responsive by learning Chrome's Device Mode in Dev Tools
https://www.atlantic.net/hipaa-compliant-wordpress-hosting/how-to-test-responsive-design-device-mode-chrome-developer-tools/
I'm working with Macrowave Dreamweaver 8. I need to make display my website for all devices. I have an index.css witch contains desktop style, and an index_mobile.css that is the style sheet of mobile devices.
I used display:none to all div in index_mobile.css that aren't used on mobile version. Than in my index.htm i set:
#import url (LAYOUT/index.css);
#import url(LAYOUT/index_mobile.css);
but it didm't change nothing. What i missed?
The easiest and best way to do this is by using bootstrap. Take a look at the container rows and columns. Bootstrap is really easy to use and it will safe you a lot of time, it also comes with components that you can easily style by overwriting the bootstrap CSS with your own CSS.
Either use bootstrap 3 or the latest bootstrap 4 beta.
Get started with Bootstrap 4 beta
I have a bit of a confusing issue. I'm building a website with bootstrap, and I have a bootstrap navbar that (when the page is shrunk down to mobile) shrinks the menu down to one box that drops down the menu options when you click it. The issue is that the navbar menu drops down only on the home page. I copy-pasted the html code for the navbar for the other pages, but still the mobile drop-down only works on the main page. Any thoughts on why this could be happening?
Do you have your vendor Javascript and Bootstrap Javascript linked on the other pages as well? It sounds like you have linked the Javascript files on your homepage but forgot to add it to the other pages.
It would help a lot to see your code.
So I have a site built with twitter bootstrap 3. Everything works great and looks good on mobile/tablet as well. What I would like to do is add a link in the footer to allow user to view full site and not the mobile responsive version if they would like.
I know I can change viewpot to force the full site in mobile but I would like to have it default to responsive and should the user choose to want full site they click a link which would disable to responsive features.
I looked around and surprisingly haven't seen much documentation for this which I would think would be pretty popular as most sites have this functionality these days. Thanks in advance
You'd probably have to serve two different versions of Bootstrap, one default and one with a modified variables.less
Have a look at this part of the file:
// Point at which the navbar becomes uncollapsed
#grid-float-breakpoint: #screen-sm-min;
// Point at which the navbar begins collapsing
#grid-float-breakpoint-max: (#grid-float-breakpoint - 1);
You could change it to something like this to never show the mobile menu
// Point at which the navbar becomes uncollapsed
#grid-float-breakpoint: 0%;
// Point at which the navbar begins collapsing
#grid-float-breakpoint-max: 0%;
Call the compiled CSS file maybe bootstrap-desktop.css and then serve this CSS file instead of default if the user visits the desktop site
The easiest way is to toggle the viewport meta tag.
By default have the tag in place.
When they choose desktop mode, add something to the URL or set a cookie to not output the meta tag.
I am developed a site using twitter bootstrap(2.3.2) fixed grid system. This is 960px website. I am not added responsive code in bootstrap.css file. But now i want to responsive it not fluid. I already download responsive code from http://getbootstrap.com/2.3.2/customize.html site and past that code in a responsive.css file.When i add this file to my website it become 1170px.but i don't want this.i want my website default value 960px but in tablet and mobile it must responsive view.How can i do this?Please help me i am new in bootstrap.
Thanks
Before downloading the customized code from http://getbootstrap.com/2.3.2/customize.html untick the 'Large desktops (>1200px)' option below the Responsive title.
I'm just guessing but that ought do it because it doesn't generate the CSS on the responsive file for over 979px then.
create your own less file as a main less file ( like bootstrap.less ).
Here is a link to a similar question answered very correctly.
Accordingly any property of bootstrap you can overwrite as per you wish.
Cheers!!!