Welcome! To use this support forum, please Login or Join Today!
You are here → Home :: Forum Home :: WordPress Themes Support :: Presstige WordPress Theme :: Thread
Shortcodes misbehaving
Hi, This should be a quick one.
I am using the [one_fourth] shortcode to format some content and the 4th column is being pushed down to the next line.
The page being affected is http://qa10.mycarfinder.com.au/?page_id=8
Thanks.
You should append the _last suffix to the last column (so that no right margin and proper clearing is applied).
Example: (notice lines 10 & 12)
[one_fourth] ...content… [/one_fourth] [one_fourth] ...content… [/one_fourth] [one_fourth] ...content… [/one_fourth] [one_fourth_last] ...content… [/one_fourth_last]
Thankyou. I thought it would be something like that (the Presstige shortcode guide didn’t show it).
Yes, I’m working on a centralized place for shortcodes.
It should be in the editor though:
I probably should have remembered this was here. I usually fill in content using HTML view and code it all manually.
yeah, same here. I use TextExpander and just type “do3col” and it pastes the last three items on my clipboard in each block. I think there’s a Windows-like program out there somewhere. Very useful.
Notepad++ is quite good for windows. It recognizes and formats keywords for php, aspx, c, html, css etc. Quite a good little app for basic coding and making updates.Not quite the same thing though.
Casey, this still looks to be an issue in internet exploder - Appending last fixed the problems in all other browsers.
Do you have a fix for this?
It looks like the social bookmarks are causing this. Try adding a [clear] tag just before the columns.
That didn’t seem to work. What else can I try?
I’m looking at http://qa10.mycarfinder.com.au/?page_id=8 in IE8. What browser does the problem occur in?
The page is correct, its happening in IE7.
I was trying to debug this for you but am now getting an error 500.
“Error establishing a database connection”
Apologies, its up and running again. This seems to happen with my host every few weeks and I need to get support to fix it. I’ll be moving to a linux hosting environment for the live site!
Try opening master.css
(http://qa10.mycarfinder.com.au/wp-content/themes/presstige/css/master.css) and change:
.one_fourth { width: 22%; }
to:
.one_fourth { width: 21.5%; }
That seems to have done the trick. Ill do a similar fix for the other presets also.
Thanks again for finding a solution so quickly.