Jump to content


Photo
- - - - -

Feature issue with Feature HTML


  • Please log in to reply
5 replies to this topic

#1 jamieg270

jamieg270

    Advanced Member

  • Members

  • 56 posts
  • LocationLondon
  • Framework Version:DMS (Latest release), Framework (Latest release)
  • Country: Country Flag

Posted 25 June 2012 - 10:11 AM

This is odd. I've updated the theme to 2.2.1 and now my opening feature which has some text as per below in it, does not show. This is placed in the Feature HTML section. Looking at the source the text is not simply 'display: none' or anything like that, it simply does not appear at all!

Please Login or Register to see this Hidden Content

I know there is another issue with iFrames and embedded Youtube videos in Features that is being looked into and this may be ralated, however the temporary fix for that, in another thread, does not work with this. I have deactivated all Plugins and tried removing all my custom CSS to check it wasn't those causing the issue and as far as I can see none of those are the cause. At a loss now as to how to fix this so thought I'd mention it here. I'll get around it for the moment by rendering the text as part of the image.

#2 Henry Perkins

Henry Perkins

    Friendly Contributor

  • Members

  • 198 posts
  • LocationAustin, TX
  • Country: Country Flag

Posted 25 June 2012 - 12:38 PM

Try using CSS to do this. Instead of all that HTML in the code.



and then insert this into custom css

Please Login or Register to see this Hidden Content



#3 jamieg270

jamieg270

    Advanced Member

  • Members

  • 56 posts
  • LocationLondon
  • Framework Version:DMS (Latest release), Framework (Latest release)
  • Country: Country Flag

Posted 25 June 2012 - 01:21 PM

Hi Henry, Its not the CSS thats the problem, I accidentally left that in there after experimenting to see whether my CSS was clashing with something else. It was originally set with a simple class. Suffice to say it had no effect on the text appearing or the code even being included! To restate, its not that the CSS isn't being implemented, its that entirety of the code I input into the Feature HTML field doesn't even appear in the generated code. When I look at source its simply not there. There is no content for CSS to style!! Prior to the update this was working perfectly with the CSS set as a class and written in the child themes style.css file. Even when I produce a new feature and put a simple 'this is a test' in 'p' tags inside it the published feature is simply blank regardless of any of the settings I set in the Features meta panel. At the moment it seems the feature HTML field is broken. Nothing you put in it will display or even be included in the generated code. In the 'Known issues with Framework 2.2.1' thread there is a reference to someone else having a similar problem with embedded Youtube videos using the same Feature HTML field. They eventually got it working by setting two of the Features meta settings to default, however that does not seem to work with this issue. Does that make sense? Thanks anyway...

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 26 June 2012 - 02:57 AM

Yeah, this sounds like a different issue than the other one already mentioned. Try deactivating plugins to see if the problem persists (not sure if this could be it - but it helps to eliminate a plugin conflict as a possibility).

#5 jamieg270

jamieg270

    Advanced Member

  • Members

  • 56 posts
  • LocationLondon
  • Framework Version:DMS (Latest release), Framework (Latest release)
  • Country: Country Flag

Posted 26 June 2012 - 06:10 AM

Hi Catrina, Already tried that, to no avail. Thanks anyway... Jamie

#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 26 June 2012 - 08:25 PM

Jamie, could you take a screenshot of the exact location where you put your code? I'm a bit confused about where it's located. Thanks.