controlling media boxes in demo-pet.html

4 replies · opened Mar 14, 2019

Jjd_in_sbMar 14, 2019

I am building my site with media boxes as demonstrated in demo-pet.html. Specifically, I am copying the top 4 media boxes (Adopt a Dog, Pet Nutritionists, Find a pet Sitter, Health & Well-being). The demo-pet.html example does not use any portfolio code for those top 4 boxes.

I am trying to limit the number of columns to a minimum of 2 in portrait mobile, but all the tech support articles that I could find talk apply to the portfolio class, which the top 4 media boxes in demo-pet.html doesn't use.

How can I make the top 4 media boxes on demo-pet.html be displayed in 2 columns on portrait mobile? Right now portrait mobile is displays 1 column of four boxes.

I would also like to use hash filtering with the above media boxes, but again, the tech support database just shows how to do it with the portfolio class, and the top 4 media boxes in demo-pet.html don't use the portfolio class.

Jjd_in_sbMar 14, 2019

I love your ability to filter portfolio items as demonstrated in:

portfolio-hash-filter.html

Is it possible to filter Feature Boxes in a similar way? For example the top 4 Feature Boxes (Adopt a Dog, Pet Nutritionists, Find a pet Sitter, Health & Well-being) in:

demo-pet.html

Jjd_in_sbMar 15, 2019

I finally found the solution. I need to built a portfolio structure and insert the Pet demo feature boxes code within the portfolio structure.

Jjd_in_sbMar 15, 2019

I found part of the solution. I need to built a portfolio structure and insert the Pet demo feature boxes code within the portfolio structure.

Not sure yet how to limit a portfolio to displaying 2 columns on mobile portrait. Right now it always shows portfolio in a single column on mobile portrait.

SSemicolon WebSTAFFMar 18, 2019

Hello,

This is Definitely Possible and can be used using the .grid-container Element. You do not need to use the Portfolio Container. Simply consider using the following code:


	
- [Show All](#)
	
- [Filter 1](#)
	
- [Filter 2](#)
	
- [Filter 3](#)
	
- [Filter 4](#)

	
		
			
				[
![attachment](demos/pet/images/services/1.jpg)
](#)
			
			
				Adopt a DogGlobally parallel task premium infomediaries
				[Read More](#)
			
		
	

	
		
			
				[
![attachment](demos/pet/images/services/2.jpg)
](#)
			
			
				Pet NutritionistsEnergistically visualize market-driven.
				[Read More](#)
			
		
	

	
		
			
				[
![attachment](demos/pet/images/services/3.jpg)
](#)
			
			
				Find a pet SitterEnthusiastically iterate enabled portals after.
				[Read More](#)
			
		
	

	
		
			
				[
![attachment](demos/pet/images/services/4.jpg)
](#)
			
			
				Health & Well-beingEnthusiastically iterate enabled portals after.
				[Read More](#)
			
		
	

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard