Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Display Digital work

Display Digital work

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 414 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adam
    wrote on last edited by
    #1

    Hey guys

    I am trying to set up an easier way of displaying digital work although i am not sure its as easier as I thought with lay theme.

    Ideally, I would like to create a few classes I can apply to specific images and display them with a solid colored background. I was going to do a browser, tablet and mobile. A great example of what I am trying to achieve is something like Area 17. https://area17.com/work/the-new-school-website

    I understand its a little bit of additional css to get it working just not sure its possible with how the gridder is built, as I seem to run into alignment issues.

    Any help would be much appreciated!

    Thanks

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Hi @adam
      you can do this for example by giving each image a background color and a padding.
      Add this to your custom CSS section.

      .grid img {
          padding: 20%;
          background: lightgrey;
      }
      
      

      It is always good to know the basics of CSS. At Codeacademy you can make a free beginner course.

      I hope that helps!

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • A Offline
        A Offline
        adam
        wrote on last edited by
        #3

        @mariusjopen said in Display Digital work:

        padding: 20%;
        background: lightgrey;

        Hi Marius

        Thanks for the reply. What if I don't want this to happen to all my images just a select few.

        Also when I did add that code you suggested it pushed my images to be larger then the layout and off the page?

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          HI @adam
          by right clicking on an image you can give it a class. Then you can apply the CSS only to that class.

          Yes. Of course. The image with get bigger because of the "frame".

          You need to work with that – or you make the frame as a part of the image.

          The solution I proposed is more a workaround – because this is not a very common thing to do.

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          I
          Ingi
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search