text widget size

Support Area Forums Bottega text widget size

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://www.laschtouff.be
  • Author
    Posts
  • #28413
    christophe pesesse
    Participant

    hello
    i put a google view iframe in the text widget box
    but the box didn’t resize with my google iframe.
    have you a solution ?

    thks

    christopher

    #28415
    Bill Robbins
    Moderator

    Good Morning christopher,

    Excellent question. You can cause the iframe to stay inside the text widget. Here’s how:

    1. Go to your theme options page and choose the Advanced tab.
    2. Scroll down to the Custom CSS box and add this:
      
      .textwidget iframe {
      	max-width: 100%;
      }
      
    3. Update your settings.

    That will keep the width inside the confines of the widget. If you’d like the height to remain proportional, use this snippet instead of the one above:

    
    .textwidget iframe {
    	max-width: 100%;
    	height: auto;
    }
    

    If you have any questions or trouble, let me know.

    Thanks,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘text widget size’ is closed to new replies.