Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mikec1uk

Privileged
  • Joined

  • Last visited

  1. Have a look at this jQuery plugin. https://kreaturamedia.com/layerslider-responsive-jquery-slider-plugin/ Will help you achieve those effects.
  2.    archlinux reacted to a post in a topic: Looking for a plugin?
  3. Looks like you are trying to use the jQuery load function and mixing it up. You could just do $(document).ready(function(){ alert("jQuery Loaded!"); $(document).on("click", function(){ alert("clicked"); $('body').load("../html/confirmation.html body", function(){ // then do what else you want to do here - e.g. slide down etc. }); }); });
  4. Mikec1uk replied to Sneijder's topic in Frontend
    You'll need to make the iframes responsive. So remove the width and height attributes from each and wrap each iframe in a div like so: <div class="iframeWrapper"> <iframe src="https://www.youtube-nocookie.com/embed/S0ROOivn_rc?&color=white&rel=0&showinfo=0&theme=light&iv_load_policy=3" frameborder="0"></iframe> </div> Then use the CSS below to make it responsive: .iframeWrapper { height:0; overflow:hidden; padding-bottom:56.25%; position:relative; } .iframeWrapper iframe { height:100%; left:0; position:absolute; top:0; width:100%; }
  5. Do you need a plugin for this? Can you not just create a custom post type for suppliers and use advanced custom fields to create fields for the custom data?
  6. I've been using a Windows PC forever and spent the last 4 years freelancing using a 17" Sony Vaio. Like rbrtsmith I resisted getting a Mac. However, fed up of the small screen I upgraded to a 27" 5k imac this week and I couldn't be happier with it. The huge screen is great. The trackpad 2 is good and I find it much better than a mouse. The gestures make everything much quicker. Things do look different on the imac compared to my laptop. But this is mainly just the colours - they look amazing on the new screen. I actually see what the designer sees now. Size wise, the display is scaled. So if you are viewing it on the standard setting, you are actually seeing a resolution of 2560 x 1440. If everything were in 5k it would be tiny! So I expect designing in it would be fine. I have found myself more productive and I got used to it so quickly, despite being a different OS. Only problem I have at the moment is I keep pressing the @ symbol rather than the " when coding as they are in opposite places on the keyboard. I wouldn't go back to a PC now.
  7. Adobe Creative Cloud: https://creative.adobe.com/plans 20% off annual plan paid annually or monthly until end of today
  8. Mikec1uk replied to CreativeSheep's topic in Frontend
    Should be $("a.firstimg, a.secondimg").fluidbox();
  9. It looks like the url to your image should be: background-image: url("../../images/arrow.svg"); As that's where your other images seem to be located. E.g. http://www.take-a-moment.com/images/ However, even then your image doesn't load. Are you sure you have arrow.svg in your images folder?
  10. Hey, To change the dropdown to white, change: .site-header { background-color: #fff; opacity: 0.8; filter: alpha(opacity=80); left: 0; letter-spacing: 1px; position: fixed; top: 0; width: 100%; z-index: 999; } To: .site-header { background:rgba(255,255,255,1); left: 0; letter-spacing: 1px; position: fixed; top: 0; width: 100%; z-index: 999; } At the moment you have the header with an opacity of 1, which means all of the child elements will also look opaque. Using rgba for the background you can just target the header background colour and not the whole element. The speed of the site if fine for me, but then I am on 200MB Virgin Broadband.
  11. You mean you just need to target all inputs with the class 'hello'. If so, syntax is just: $('form > .hello').each(function() { if ($(this).val() == '') { empty = false; } })
  12. Personally I never use a plugin slider. Like rbrtsmith said, use a custom post type or an Advanced Custom Fields repeater field to create the slides. Then you can integrate it with any slider. Ones I use are usually bxSlider or owlSlider. Gives you a lot more control over everything. I find some of these plugins a lot of the time are very bloated and complicated to use for clients.
  13.    teodora reacted to a post in a topic: ACF and image manipulation
  14.    Jack reacted to a post in a topic: ACF and image manipulation
  15. Hi, The way I do it is to make sure the field returns the image object. Then use the code below in your template $imagefield = get_field('image_field_name'); $imageid = $imagefield['id']; $image = wp_get_attachment_image_src($imageid,'large'); Replacing the 'large' with thumbnail/medium/large/full, or your custom name for an image size created in your functions. You can then output the image url with: echo $image[0]; Hope it helps!
  16. Just add: position:relative; to both the header and main content area.
  17. You can just unwrap them. Try changing your resize function to: $(window).resize(function(){ $('.my-item').unwrap(); wrapItems(); }); That will unwrap them before running the function again.
  18. $('#sideNavBox > ul > li:first-child .menu-item-text').css('color','red'); Is what you're after I think. The '>' selects only the direct child of the parent element. Otherwise you are selecting all first child list items in the list and child lists. Couldn't you just do this with CSS anyway? #sideNavBox > ul > li:first-child .menu-item-text { color: red; }

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.