I am using the F2 theme and need to embed an iframe with a property-search IDX on a single page, removing the sidebars and widening the main column. I have figured out how to remove the sidebars for the page using a conditional statement and the page id, but I’m banging my head against the wall trying to figure out how to widen the column to fit the iframe. I really appreciate any help!
Thanks henkholland! I went down that road but was not able to make it work. The theme developer generously sent me a solution. It turned out to be quite easy. Here it is for anyone else who may stumble across this post.
Eventually this solution solved my problem. There is only one thing you should consider. In the example, the page id number is mentioned. At first I changed this id number to the page title:
if($sidebar_r == ‘off’ || is_page(shop))
This doesn’t solve the problem, you MUST use the page id number in the functions.php and MUST NOT use the page name.
With the assistance of the theme developer we found that out.
Now my page looks like this and I am satisfied: http://www.doordebenen.nl/shop-2/
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘[Resolved] Change width in F2 theme for a single page’ is closed to new replies.