Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme » New Versions & Updates »

Patch 113-04: the site may be squished on a mobile device or tags over run sidebar


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 2, 2013, 08:54 PM
juggledad's Avatar
juggledad
 
22,374 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Description: If you view your site on a mobile device (iPod, iPhone etc), you may see that the site is 'squished' to the left. You may also notice on a non mobile device that the 'tags' and/or 'categories' of a post bleed into the sidebar. This issue will show up when a post has many tags or categories and the seperator is a NULL character.

FIX: This can be easily fixed by adding a seperator character as shown in the Limited PHP code for 'the_tag()'

In the virtual sub template 'postformat.php' change the line
HTML Code:
		<?php the_tags( '<p class="post-tags">', '', '</p>' ); ?>
to
HTML Code:
		<?php the_tags( '<p class="post-tags">', ' &middot; ', '</p>' ); ?>
If you would like to make this a permanent fix, so if you reset the 'postformat.php' file or reset all settings, you can edit the theme file 'montezuma/admin/default-templates/sub-templates/postformate.php' and change line 27 from
HTML Code:
		<?php the_tags( '<p class="post-tags">', '', '</p>' ); ?>
to
HTML Code:
		<?php the_tags( '<p class="post-tags">', ' &middot; ', '</p>' ); ?>
or replace the file montezuma/admin/default-templates/sub-templates/postformate.php with the attached file which has the correction already applied.
Attached Files
File Type: zip postformat.zip (580 Bytes, 267 views)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Jun 12, 2014 at 08:52 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i stop the site resize / mobile version Tommyt Montezuma Theme 12 Feb 4, 2013 07:58 PM
PATCH 377-01: Printing is 'squished' when using a left-inner sidebar juggledad Old Version fixes and change logs 0 Aug 6, 2012 01:26 PM
Mobile Sidebar problem Context Canada Center area post/pages 1 Mar 1, 2012 03:46 PM
Center column when viewed by mobile device or iPad becomes distorted Chadvk Center area post/pages 3 Feb 16, 2012 05:28 PM


All times are GMT -6. The time now is 10:38 PM.


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