Jump to content


Photo

Highlight page graphic breaking


This topic has been archived. This means that you cannot reply to this topic.
20 replies to this topic

#1 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 18 January 2010 - 08:16 PM

Just now trying out highlight pages, they seem to be incomplete unless I enter text that goes all the way across the box. I've toggled plug-ins, I've removed post content. http://www.vineyarda..._gallery/italy/ http://www.vineyarda...entral/toscana/ (plug in deactivated) Most of my highlight pages will be a single word header, which I would like centered. Then instructions on how to use the slide show as "highlight text" Discuss.

#2 arpowers

arpowers

    Founder

  • Administrators
  • 3254 posts

Posted 18 January 2010 - 09:03 PM

could you clarify what you mean by incomplete?

#3 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 18 January 2010 - 11:33 PM

The shaded area doesn't fill the box.

#4 arpowers

arpowers

    Founder

  • Administrators
  • 3254 posts

Posted 18 January 2010 - 11:58 PM

argh.... ok you found a bug, congratulations.. :) to fix: `#maincontent #highlight .fcontent {width: 100%}`

#5 bilbomac

bilbomac

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 19 January 2010 - 12:51 AM

Which page/template would this code be added to?

#6 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 19 January 2010 - 09:04 PM

Hey there Bilbomac, As I learned from another tweak: Appearance > Whitehouse Pro Options > Custom Code > Custom CSS

#7 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 19 January 2010 - 09:23 PM

To break out the other question, and to address something annoying: I would like for my Highlight title to be centered. Since the field is H1 preformatted, how do I go about doing that? It's also impossible to leave either field blank without getting the default text that says "fill me in on the admin page" Thanks!

#8 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 20 January 2010 - 09:16 AM

@Robbing_G Two lines of css in the custom css field should do it for you:

 #highlight .fcontent {padding:50px 0;}
	#highlight h1 {text-align:center;}

Let me know if that works for you.

#9 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 20 January 2010 - 08:32 PM

That breaks the "highlight text" entry. http://www.vineyarda..._gallery/italy/ Default text shows up without ANY input to that field. http://www.vineyarda...entral/toscana/ I probably will put something there, but I'm also considering just leaving it as a header with the title only.

#10 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 20 January 2010 - 10:59 PM

ooo. my apologies! I forgot about the "highlight text". disregard that code above and use this instead:

 #highlight h1 {text-align:center;}

It looks like you have this entered in the custom css field as well (delete this):

 #maincontent #highlight .fcontent {width: 100%}

Now for the Default text issue, just add a space (" ")in the highlight text field. That should trick the the theme option into thinking you have text entered there.

#11 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 21 January 2010 - 04:43 AM

I can't delete #maincontent #highlight .fcontent {width: 100%} its Andrew's fix to the bug problem also listed in this thread... I delete that line and the problem comes back: http://www.vineyarda..._gallery/italy/ I know the space is a cheat, but if the field were gone, the graphic would be narrower and that would be nice. (note for future updates)

#12 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 21 January 2010 - 08:57 PM

@Robbin_G

Gotya! We're making slow progress, but progress nonetheless:

 #maincontent #highlight .fcontent {width: 100%}
	#highlight h1 {text-align:center; margin-left:-50px}

That should do it for you.

As for a resolution for the space cheat, I'm writing ticket for it right now.

#13 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 21 January 2010 - 10:10 PM

I think y'all need to give the highlight template some more debugging: http://www.vineyarda...entral/toscana/

#14 arpowers

arpowers

    Founder

  • Administrators
  • 3254 posts

Posted 22 January 2010 - 02:16 AM

this is being caused by the: ` #maincontent #highlight .fcontent { width:100%; } ` custom css rule you added..

#15 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 22 January 2010 - 02:37 AM

@Robbin_G last attempt: #maincontent #highlight .fcontent {width: 540px} #highlight h1 {text-align:center} You can hate me forever if that doesn't work.

#16 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 22 January 2010 - 02:52 AM

Huzzah! http://www.vineyarda...entral/toscana/

#17 bilbomac

bilbomac

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 23 January 2010 - 03:04 PM

Does this replace the previous code suggested above throughout the entire thread? So should the only entry in CSS code be... #maincontent #highlight .fcontent {width: 540px} #highlight h1 {text-align:center}

#18 robbin_g

robbin_g

    Advanced Member

  • Members
  • 57 posts

Posted 23 January 2010 - 04:05 PM

@bilbomac Yes, the last bit of code replaces all previously mentioned code. (just as you copied)

#19 bilbomac

bilbomac

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 23 January 2010 - 07:06 PM

thx :-)

#20 bilbomac

bilbomac

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 23 January 2010 - 07:12 PM

Dumb question. Does it need to be placed inside brackets and associated with anything?