Forum Replies Created

Viewing 15 replies - 16 through 30 (of 38 total)
  • Thread Starter vind

    (@vind)

    The issue still persists when I view my website live with the original Twenty Twelve theme. I don’t know how the clear and submit buttons on the theme preview page are rendered, as they seem to work fine in contrast to the search button (i.e. not pulling up the content underneath).

    I used the following code to render my button:

    <input type="submit" value="Press Me" />

    On that note, I did manage to fix the resizing issue for my child theme yesterday, after dabbling with the code and changing about two or three values that were related. Can’t remember what they were at the moment, though.

    Anyhow, my issue now is that the border on the left of the button doubles when it’s pressed. Can’t really figure out what’s causing that either.

    Thread Starter vind

    (@vind)

    Well, that would be as simple as just clicking the Search button, and the content underneath is pulled up by 1 pixel or something on the active: state.

    Thread Starter vind

    (@vind)

    How do I report this as a theme bug?

    Thread Starter vind

    (@vind)

    What exactly does that mean, and what would it look like?

    Thread Starter vind

    (@vind)

    After some trial and error in my curse of tweaking and customizing, it eventually came to my attention that the footer code I posted two posts above had a few errors…

    …so for anyone who may want to copy the code, please follow the example of my corrections below, which retrieves some closing tags that were mistakenly omitted (found in parent footer.php):

    <footer id="colophon" role="contentinfo">
    		<div class="site-info">
    
    <table>
    <tbody>
    <tr>
    <td>
    <a href="http://ww.wp.xz.cn/" title="Semantic Personal Publishing Platform">Proudly powered by WordPress</a><!-- .site-info -->
    </td>
    <td>
    <p style="text-align: right;">
    <a title="Profile for cresun on last.fm" href="https://www.last.fm/music/cresun"><img src="http://cresun.is-great.net/wp-content/uploads/badge_lastfm_16x16_gray.png" class="footer-badges" alt="lastfm_badge" onmouseover="this.src='http://cresun.is-great.net/wp-content/uploads/badge_lastfm_16x16.png'" onmouseout="this.src='http://cresun.is-great.net/wp-content/uploads/badge_lastfm_16x16_gray.png'"/></a>
     
    <a title="Listen to my music on SoundCloud" href="https://soundcloud.com/cresun"><img src="http://cresun.is-great.net/wp-content/uploads/badge_soundcloud_16x16_gray.png" class="footer-badges" alt="soundcloud_badge" onmouseover="this.src='http://cresun.is-great.net/wp-content/uploads/badge_soundcloud_16x16.png'" onmouseout="this.src='http://cresun.is-great.net/wp-content/uploads/badge_soundcloud_16x16_gray.png'"/></a>
    </p>
    </td>
    </tr>
    </tbody>
    </table>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    </div>
    
    <?php wp_footer(); ?>
    </body>
    </html>

    Ouch. Turns out I messed up my footer when doing customizations to my child theme. I think I got it covered now by copying the closing tags from the parent footer.php. At least the lightbox is working again now, so thanks for pointing that out.

    Thread Starter vind

    (@vind)

    Has this got something to do with CSS3 and IE8 not supporting it? I have very little experience with web coding, so pardon my ignorance.

    Thread Starter vind

    (@vind)

    Ruled ut the listed entries. The remaining three are unfamiliar to me; I suppose they must be errors in the Twenty Twelve theme itself, which is beyond my interference.

    Anyhow, the errors I ruled out were caused by some minor issues with the customisation in my footer.

    The site still renders the same in IE as previously noted.

    I ruled out all my plugins, but this has also occurred for me. The lightbox is simply not loading anymore. Using Firefox 17.0.1 by the way.

    Thread Starter vind

    (@vind)

    Progress made; desired result archived!

    I was pulling my mind in a twist over how to get this done with CSS, when I came across this dead simple HTML solution to achieve the effect I wanted.

    I know that this effect can still be achieved by more clever means with CSS, however; I just don’t know how to implement it, though.

    In spite of the fact that we’re talking about a mere set of four 16×16 PNG icons, the ideal solution would be to have a single bitmap containing the four images in a tile-set, using CSS to set the display resolution equivalent to the dimensions of one badge, and then offset the bitmap on hover to display the complementing badge effect.

    If anyone wants to fill me in on how to do this, please let me know.

    Thread Starter vind

    (@vind)

    With some help from Firebug, I have been fortunate to find a solution on the web that I was able to implement.

    If anyone else comes across this thread with the same issue at hand, here is how I resoved it:

    <footer id="colophon" role="contentinfo">
    		<div class="site-info">
    
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <td>
    <a href="http://ww.wp.xz.cn/" title="Semantic Personal Publishing Platform">Proudly powered by WordPress</a><!-- .site-info -->
    </td>
    <td>
    <p style="text-align: right;">
    <a title="Profile for cresun on last.fm" href="https://www.last.fm/music/cresun" target=_"blank"><img src="http://cresun.is-great.net/wp-content/uploads/lastfm_badge_16x16.png" class="footer-badges"></a>
    &nbsp;
    <a title="Listen to my music on SoundCloud" href="https://soundcloud.com/cresun" target=_"blank"><img src="https://w.soundcloud.com/icon/assets/images/orange_white_16-94fc761.png" class="footer-badges"></a>
    </p>
    </td>
    </tr>
    </tbody>
    </table>
    
    </div>
    </footer>

    To elaborate, I created a new footer.php file in my child theme directory, containing (only) the code listed above. If I understand this correctly, the footer.php of the child theme overrides the parent footer.php.

    The HTML code was disclosed by analysing the footer on my website with Firebug, so it was a simple copy / paste operation to create the new footer.php. I then created a table with one row and two columns, so that the WordPress credit note would display in one cell, and the badges in the other. Also note that the second cell has a paragraph style element to align the badges to the right.

    As for the visual styling, I learned how to define a class attribute for the specific images used, which is expressed at the end of the image elements. This class can then be styled through the styles.css file of the child theme. I did this the following way:

    /* Styling for the footer badges */
    img.footer-badges {
        vertical-align: middle;
        opacity: 0.5; /* Sets default opacity value */
        filter: alpha(opacity=50);
    }
    
    img.footer-badges:hover {
        opacity: 1; /* Makes the images fully opaque */
        filter: alpha(opacity=100);

    In this example I copied some CSS code that I found on Stack Overflow, and replaced the class from the example with the one I had defined in my footer.php file. It makes my badges appear translucent by default, and fully opaque on hover. I also added a vertical-align property with a middle declaration, to make the badges align more evenly with the text on the left of the footer.

    Now that the basics have been set, I’ll be looking into how to make the badges gray by default and load the coloured images on hover, to better match my theme.

    Thread Starter vind

    (@vind)

    Thus far, I’ve been fortunate enough to find a simple solution to the gallery presentation itself, with help from the plugin WP Gallery Custom Links.

    Now I just need a lightbox that supports video content, whether someone may help me implement this feature into the WP jQuery Lightbox plugin, or introduce me to an alternative lightbox which is responsive and has the exact same appearance as WP jQuery Lightbox, either out of the box, by theme, or by simple CSS modifications.

    My progress thus far can be seen here.

    Any help would be appreciated.

    Thread Starter vind

    (@vind)

    My vision is now nearing its completion, as the visual motion page now features thumbnails with anchored video (made possible with love from WP Gallery Custom Links).

    All that remains now is to make the videos load into the lightbox, instead of being redirected to YouTube. I just need a simple solution to be able to implement this into WP jQuery Lightbox, unless someone may know of another lightbox which already has this feature, as long as it 1) has the exact same visual apperance as WP jQuery Lightbox (whether that be easily implemented as a skin), and 2) is fully responsive.

    I’ve been looking forever to actually find a lightbox which fulfills this criteria. With no luck thus far, I would appreciate if anyone could help me bring this vision into completion.

    Yes, it seems to be broken.

Viewing 15 replies - 16 through 30 (of 38 total)