Skip Navigation

[Resolved] making site responsive

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 32 replies, has 3 voices.

Last updated by Christian Cox 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1218444

Let me provide some examples, because I think they will help explain how you would manage this border different ways. If you want to place the borders around some element like a View, wrap that View in a div with the border class. If you don't want to wrap the entire View in a border, but you want to wrap some results in that div in a border, put the div around the results in the loop. If you want to wrap only some items in a border, use conditional HTML.

Example with border around the entire View:

<div class="border-rounded-view">
[wpv-view name="Your View Name"]
</div>

Example with border around each individual result in the View (this is inside the Loop editor):

<wpv-loop>
  <div class="border-rounded-view">
    // everything you want inside a border goes here
  </div>
</wpv-loop>

Border around only some results in the View, based on whether or not a custom field on that post is equal to 1 (this is inside the Loop editor):

<wpv-loop>
[wpv-conditional if="($(wpcf-field-slug) eq '1')"]
  <div class="border-rounded-view">
[/wpv-conditional]
[wpv-conditional if="($(wpcf-field-slug) ne '1')"]
  <div class="no-border-here-please">
[/wpv-conditional]
  everything in the result goes here, regardless of whether or not the border should display
</div> 
[/wpv-conditional]
</wpv-loop>
#1218450

Clearly this request was toooooo much to ask.

This didn't work
<div class="border-rounded-view">
[wpv-view name="Your View Name"]
</div>

I didn't even bother with the conditional stuff.

I have spent about 2 weeks on this 1 task alone. You know what did work. Using my theme. I was able to put a border around the container I put the view in, complete with rounded corners.

it took all of a 1/2 hour to figure out how to round the corners.

Done.

Although I love how toolset can put one thing in a thousand places there are times when it is no longer worth trying to get something to work. I know I am not the only one who had this issue with bootstrap cuz I've been doing A LOT of research. The problem is nothing works. I just don't think it was asking for too much. Might be something to add to the list of things to make possible for 1 and for do a bit easier.

Thank you anyway I'll be tackling that search either tonight or tomorrow, I sure hope that isn't asking for too much.
Lori

PS. this book can be closed now.

#1219102

Closing per your request