I am trying to display 2 buttons in the main image of landing page.
I am trying to add many media queries to make the alignment of the buttons responsive when the device size changes
but still it is not working in all devices.
hear is html file and images zip folder
https://github.com/MiteshKalal7/crushme/tree/main/crushme
link to codesandbox
please help me the do this.
i will appreciate your efforts for helping me.
i am stuck in this issues in last 2 days.
thank you for helping..
Related
Just a quick one as i can not seem to find anything on this one anywhere.
I am using bootstrap 4 css and some JavaScript to make my first website for a portfolio.
I know that my page is responsive now but i'm wondering should i be using 4 different size images of the same picture with the picture tag or is it ok just to compress the one picture down to a reasonable size for example 60kb
then use this one image for all screen sizes as it will be responsive..
Just wondered what all you professional developers do as i am still a novice and do not know how it is done. what would you do if you were making a website using bootstrap 4 images one for each breakpoint with the picture tag and max/min width...or just go for the easier option and have one image for all less code but im guessing that it may be a longer loading time on a mobile device??
..sorry i do not have the code to show you guys it is just i have not got round to figuring out how to use the picture ta with bootstrap and i am still at the stage of compressing all of my images.
Any answers will be greatly appreciated.
I need some code for a website. I've done some code myself however, it's not exactly what i had in mind. I was hoping that I would be able to get some code which would be similar to the image shown below. Any help would be appreciated as I was hoping to go live with this website on Thursday.
Thank you.
Image Link
I have a website(http://www.prinziah.com) for now I'm ok with how it looks(except you want to give me better ideas) but when I view it with a device with smaller screen like a mobile phone the buttons seem to be on the left and not at the center of the screen, I have tried to edit the settings in the admin panel but it didn't budge, I inspected element in my browser but couldn't find the css class that controls it. Please I need tips on how to center those buttons. You can see exactly what I'm talking about in the image below.
Thanks for you help.
The fault was from the theme creators, I guess they realized their mistake and created an update. When I updated the theme my buttons went back to the centre of the page in mobile view
I have a question regarding a carousel slider in a template I recently uploaded on my blog. I downloaded the free ELEGANT template which allows you to have a slider at the top of the page. When you add the tag featured in the post, the blog post will also appear in this slider.
Only thing I don't understand: the images which I have appear different in scale (see attached screenshot) I tried to fix it in the actual image in the blog post, but that doesn't seem to work. Also the HTML code of the carousel is locked, so I cannot change the image sizes there. Does anyone know how to fix this problem? So I can always add my latest blogpost there and all the images have the same size?
I am a basic HTML coder, so I have a little knowledge of coding.
Thanks in advance!
Jorien
There are lots of website themes that have a slideshow or image frame that is styled to look like it's a device such as a mobile screen or tablet screen or computer monitor. Please see below:
I have spent the last 4 hours looking for some code or an open source plugin that would enable me to show images this way. All I have found in 4 hours is yootheme and hostmoog that both charge for the plugin.
How does everyone else get these device style frames around images please? Do I need graphics software?
This question should help others too. I've spent ages searching under every conceivable combination.
Thanks in advance.
First, create your device "background". Then, divide the images into four pieces:
The part of the background that appears above the top of the screen image
The part that appears below the bottom of the screen image
The part that appears to the left of the image between the top and bottom
The part that appears to the right of the image between the top and bottom.
Then, create three <div>s. Place the top and bottom pieces in <div>s 1 and 3, and divide the 2nd into three smaller <div>s. Render the left and right pieces in the left and right sub-<div>, and finally, render your slideshow in the center piece.
I don't know if I understand your question perfectly, and I may be way off, but I'm going to try to answer it to it from what I think your asking. Responsive Design is what you're looking for. Displaying the page perfectly across all devices.
There is also a tool that I use to see my webpages in different resolutions, Resize my browser that lets me see how my page will look on different size browers, iphones, etc... If your code is correct this is a very useful site.
Hope I somewhat answered this question.