Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Custom widgets - scaling

Old Nov 11, 2013, 10:29 AM
73 posts · Oct 2010
Hope you can help.

I'm working on this site:

Using Atahualpa 3.7.12 and WP 3.7.1

I've added a new widget area to the footer, using this code:

<?php bfa_widget_area('name=Footer widget area&cells=2&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>

I've added a text file featuring an image to each widget and on my screen the two graphics look fine, they are evenly spaced with a gap between them, but on smaller screens (eg my iphone) one overlaps the other and the right hand one disappears off the side of the site.

How can I make them scaleable so they'll look right regardless of screen size?
Old Nov 11, 2013, 12:14 PM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HTML Code:
#text-7 img {
    width: 100%;
#text-8 img {
    width: 100%;

Last edited by juggledad; Nov 11, 2013 at 01:46 PM.
Old Nov 14, 2013, 04:37 AM
73 posts · Oct 2010
Ah thanks. it's showing the full image now. How can I add padding between them?
Old Nov 14, 2013, 05:06 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'd add a 'white' right border to to the first table cell and a left border to the second table cell and make the width of the borders 1/2 of what you want the full border to be.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Custom Widgets Won't Display jtsharp Sidebars & Widgets 2 Dec 6, 2013 01:52 PM
duplicate custom widgets swimflyfast2 Sidebars & Widgets 7 Mar 8, 2013 05:47 AM
logo image not scaling in Atahualpa Theme jimzook Forum How-To 1 Nov 29, 2012 09:10 AM
Image resize / scaling not working properly when resizing window with Atahualpa 3.7.7 Sebdude Center area post/pages 3 Jun 1, 2012 02:56 PM

All times are GMT -6. The time now is 03:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.