Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS for different images in all devices with container and media queries

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #205825
    braisremeseiro
    Participant

    Hi,

    I have the following code:

    http://codepen.io/anon/pen/mJaegw

    And I am trying to adapt the images for different devices.

    What should I do?.

    #205826
    Paulie_D
    Member

    What should I do?.

    Firstly, please don’t dump raw code like that it takes up way to much space, make a codepen demo (even if it’s just CSS).

    I’ve done that for you and provided a link for those who want to take a look at it.

    Next…it would be helpful if you could clarify what “And I am trying to adapt the images for different devices.” means…especially as the CSS doesn’t reference images at all.

    Adapt how…and why.

    #205830
    braisremeseiro
    Participant

    Thanks for reply.

    I have three background images that belong to different sections of the website:

    luscoefusco13.es

    I have the problem to see completely the background images in different devices such as mobiles, tablets and computer (max. 1900 X 1080). I downloaded the template and now I have troubles to edit it. Please, Do you need more descriptions?.

    This is the whole .css code:

    http://codepen.io/anon/pen/bdOEbK

    #205835
    Paulie_D
    Member

    You might want to look into some of Chris’ articles..I’m fairly sure he had one on perfect full screen images.

    Search this site.

    #205837
    braisremeseiro
    Participant

    And How about change the color to the fields of the form to white?:

    http://codepen.io/anon/pen/jPXqbb

    #205838
    Paulie_D
    Member

    You Codepen doesn’t seem complete.

    #205839
    braisremeseiro
    Participant
    #205841
    braisremeseiro
    Participant

    Has it solution?.

    #205842
    Paulie_D
    Member

    Has it solution?.

    Patience dude!

    From the code you supplied it looks like a div with this styling.

    .box {
        background: #cf6b68;
        color: #ffffff;
        padding: 2em;
    }
    

    So that color is showing through. Have you tried applying a background color to the textarea or input elements?

    It looks like the defauly styling is turning it off

        background: none;
    
    #205843
    braisremeseiro
    Participant

    I tried to change without a good result. The color I want to change is the #a1b8b1. I put #ffffff in the background: none; and it does not seems good. When you have a little time, please Can you help me?.

    Many thanks.

    #205844
    braisremeseiro
    Participant

    Hey, Did you find the solution?.

    #205848
    Paulie_D
    Member

    Nope…but then I wasn’t looking, I have to sleep sometime.

    I suggest you start checking your code with the developer tools that come with your browser so that you can understand what is happening and why.

    #205866
    braisremeseiro
    Participant

    Hey Paulie,

    This code was posted in another website to obtain different images for devices.

    http://codepen.io/anon/pen/GJPEXW

    Can you help me?.

    #205870
    braisremeseiro
    Participant

    I offer 15$ if you solve my problem.

    #205882
    braisremeseiro
    Participant

    Paulie, I have two index files, one in html and other in php. The php is that I want to use…Can you help me because it uses first the html?.

Viewing 15 posts - 1 through 15 (of 17 total)
  • The forum ‘CSS’ is closed to new topics and replies.