croydon86
-
How do you handle different image sizes for different screen widths in Wordpress
Thanks guys, I am using max-width: 100% however unfortunately using just this alone is not a viable solution. I am working on an image-heavy responsive site which is tailored for mobiles to 27" iMacs! There are a few images almost full screen,…
-
How to: Mobile-first designs/dev
Great desicion to start adopting a mobile-first approach. My personal workflow consists of sketching out wireframes of the layout at different breakpoints, and then taking this into Photoshop and mock up the smallest and largest layout, or more dep…
-
How do you handle different image sizes for different screen widths in Wordpress
Hey @Senff Thanks for confirming that. I did some research and came to the same conclusion. Now it is just getting the images to work responsively, so only smaller file sizes get downloaded for smaller screens. I came across this solution which u…
-
How to achieve two different excerpt layouts on one WordPress site?
Hey @JoshWhite Interesting you mention that. Just last night I decided to use a plugin called 'Video Thumbnails' which does exactly as you mention. It searches your existing posts, grabs the thumbnail (if any) then you call that thumbnail…
-
How to achieve two different excerpt layouts on one WordPress site?
Yes that is the code I have, and yes you could be write about the plugin causing the p's. I was just thinking to scrap the advanced excerpt plugin, and just use custom fields, but cannot as this is a redesign, and the client has around a 1000 …
-
How to achieve two different excerpt layouts on one WordPress site?
You can remove the p tags in functions.php Yes I already have this, it works half of the time, and in this particular case, it doesn't, very annoying! @JoshWhite yes I thought about featured image but not sure how it would handle video. I…
-
How to achieve two different excerpt layouts on one WordPress site?
@chrisburton the Advanced Excerpt plugin allows you to bring in all HTML content into the excerpt, as opposed to just text. This works perfectly for what I want on the blog page. I agree though would love things like this to be a default feature of…
-
How to achieve two different excerpt layouts on one WordPress site?
That's strange, it works for me, but here is a link hosted somewhere else.. http://imageshack.us/photo/my-images/21/excerpts.jpg/ You need to create a separate template file for the homepage (home.php). Yes I have done this.
-
Wrap wp_nav_menu output around option tags for select menu
Sorry I was using the wrong function. wp_dropdown_categories was the function I was looking for which does this by default.
-
Wrap wp_nav_menu output around option tags for select menu
Thanks for pointing me in the right direction. Looking at that code...pretty complex for a PHP novice! I may consider a manual solution as I can see the optgroup labels being a problem.
-
How to integrate WooCommerce plugin into existing Wordpress theme.
Yes!!! Thanks @deeve007 that is exactly what I was after.
-
How to integrate WooCommerce plugin into existing Wordpress theme.
@deeve007 it is more for me having control of certain elements. For example, with a blog, I can control how the blog is displayed, whether I display recent posts, archives, tags, etc all with php. I want to know which files I will have to edit to h…
-
How to integrate WooCommerce plugin into existing Wordpress theme.
@unasAquila that is an interesting plugin which I may consider. @FragaGeddon I heard about this technique, but the example I saw the guy was using two separate wordpress sites (2 databases). This is not really a viable solution for me or my client …
-
How to integrate WooCommerce plugin into existing Wordpress theme.
Thanks for that. Yes very detailed but it's more focused on actually setting up the shop as opposed to the actual development side of things. Plus he is using a WooTheme that supports WooCommerce. My question was how to use WooCommerce on an e…
-
Best solution for an inner container
@Paulie_D is right. You shouldn't be afraid to add extra markup if needed. Remember divs have no semantic meaning so won't harm anything by doing so. By all means keep your HTML code nice and tidy, but not to the extent where you need to …
-
Testing local server with MAMP/wordpress on external device?
@smcr yes I know what you mean. To get it working I didn't follow the article exactly. In the two wordpress URL's in admin, enter the following only... http://xxx.xxx.x.x So only the IP address. Make sure you write that in both boxes. …
-
Testing local server with MAMP/wordpress on external device?
Ok got it... http://www.designshifts.com/view-local-wordpress-website-on-your-iphone-or-ipad-with-mamp/ Turns out it is just simply calling the IP address. Only thing I missed was not putting the IP address as the website URL in the wordpress admin
-
Testing local server with MAMP/wordpress on external device?
Thanks for your responses guys. Some good information there. The problem is I can get to the local domain no problems using either the IP address or through the terminal, but I can't seem to connect to the wordpress database. (at least, this i…
-
Best techniques for image optimisation (Standard and Retina)
@rugg agreed I also do your technique however I am not a fan of ImageOptim. I tend to get better results with http://www.jpegmini.com @siouxfan45 yes that would obviously display the best results but ridiculous file sizes. This post was more for c…
-
Best techniques for image optimisation (Standard and Retina)
Forgot to add, the second technique seems to give the best balance between file size and image quality, so the point of this thread is to see if there is a better technique I have missed.
-
Best Practices: Multiple Classes or Multiple Properties?
Definitely option 2. Less repetition = Less code = Smaller CSS file (albeit very small difference) Not the most important thing to do, but every little helps, especially if not too taxing. I wouldn't go through the whole CSS and group similar…
-
Prevent hidden html from loading on mobile
Google conditional loading. Its pretty much having the content on another page somewhere on your server, and then bring it in using the .load function with jQuery.
-
Menu placement opinions
Yes I agree, it would definitely depend on layout and goals of the site. I'm not a fan of the nav on her company site either, it's quite an eye sore, on desktop, however, it seems like they went for a mobile-first approach where this desi…
-
Menu placement opinions
The redesign of this site is an interesting one that has challenged existing conventions in numerous way, navigation being one of them. I have seen sites that display no navigation initially but as soon as you start to scroll, a fixed top navigatio…
-
Consistent icon font spacing throughout browsers/os
Sorry correct link http://codepen.io/anon/pen/znjBq
-
Consistent icon font spacing throughout browsers/os
Yes! I've tried fontello and it works. http://codepen.io/anon/pen/sidje
-
Consistent icon font spacing throughout browsers/os
Thanks but it's the line height thats the problem. For example a line height of 0px would work in the PC Chrome, but mac chrome needs a line-height of 20px to be vertically centered. I came across this link https://github.com/danielbruce/enty…
-
How to reduce load time on large 1-page sites?
this may help if using jquery.. http://www.appelsiini.net/projects/lazyload
-
One div doesn't float left
@rodolpheb - thats also a nice solution
-
One div doesn't float left
@markomarkogame the reason this is happening is because when you float elements, they are removed from the normal flow of the document, and only float up to the next floated element. In this case, the first element has two lines of text, making the …