Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Responsive CSS problem

  • 05-05-2013 10:23pm
    #1
    Registered Users, Registered Users 2 Posts: 1,298 ✭✭✭


    so I have the css set up via the fluid layout that Dreamweaver cs6 provides.

    But I have two blocks of text that display side by side

    www.wmdmedia.ie/index.html

    the recent projects and about us section,

    so with the mobile version I want the recent projects to display across with the about displaying under it,

    however anytime I try move something with the mobile css it affects tablet layout and desktop layout.

    Anyone able to help?


Comments

  • Registered Users, Registered Users 2 Posts: 10,906 ✭✭✭✭28064212


    Where are you making the changes? responsive.css or main.css?

    Boardsie Enhancement Suite - a browser extension to make using Boards on desktop a better experience (includes full-width display, keyboard shortcuts, dark mode, and more). Now available through your browser's extension store.

    Firefox: https://addons.mozilla.org/addon/boardsie-enhancement-suite/

    Chrome/Edge/Opera: https://chromewebstore.google.com/detail/boardsie-enhancement-suit/bbgnmnfagihoohjkofdnofcfmkpdmmce



  • Closed Accounts Posts: 34,809 ✭✭✭✭smash


    responsive.css seems kind of redundant as there's no media queries


  • Registered Users, Registered Users 2 Posts: 1,298 ✭✭✭off.the.walls


    responsive.css is just a row and column template i use to make the sizes %based instead of px based. i've made the changes in main.css


  • Registered Users, Registered Users 2 Posts: 9,060 ✭✭✭Kenny Logins


    Don't you want the divs width to be 100% when the browser under 768 pixels? And that 'onecol' divider needs to go.


  • Registered Users, Registered Users 2 Posts: 10,906 ✭✭✭✭28064212


    responsive.css is just a row and column template i use to make the sizes %based instead of px based. i've made the changes in main.css
    So what changes have you made to main.css under mobile layout? It's empty at the moment, is this on your local/test copy? As it says in main.css, the desktop section "inherits" styles from tablet, which inherits styles from mobile, so any changes to mobile are supposed to affect the others. You're supposed to overwrite them in the tablet and desktop sections

    Boardsie Enhancement Suite - a browser extension to make using Boards on desktop a better experience (includes full-width display, keyboard shortcuts, dark mode, and more). Now available through your browser's extension store.

    Firefox: https://addons.mozilla.org/addon/boardsie-enhancement-suite/

    Chrome/Edge/Opera: https://chromewebstore.google.com/detail/boardsie-enhancement-suit/bbgnmnfagihoohjkofdnofcfmkpdmmce



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,298 ✭✭✭off.the.walls


    28064212 wrote: »
    So what changes have you made to main.css under mobile layout? It's empty at the moment, is this on your local/test copy? As it says in main.css, the desktop section "inherits" styles from tablet, which inherits styles from mobile, so any changes to mobile are supposed to affect the others. You're supposed to overwrite them in the tablet and desktop sections

    So I should write it for mobile and then change it for tablet and for desktop?

    I appear to of been going about this all wrong! thanks guys


  • Registered Users, Registered Users 2 Posts: 9,060 ✭✭✭Kenny Logins


    I would work the other way around - full size first, then carry required changes for each band down to 480px. I'd also keep these styles separate, in responsive.css.


  • Registered Users, Registered Users 2 Posts: 2,588 ✭✭✭KonFusion


    Everything you need to know, right here.


Advertisement