Overriding Primefaces 5 themes

UI Components for JSF
Post Reply
pratikpanchal
Posts: 3
Joined: 25 Aug 2014, 16:15

25 Aug 2014, 16:36

I have developed a project on Netbeans 8. Here's part of my code:

<p:layoutUnit id="layoutUnitNorth" position="north" size="125" styleClass="northLayoutSClass">
<div id="topLeftImage">
<img src="resources/images/PencilsInAGlass1.jpg" width="110" height="110" align="left" alt="PencilsInAGlass1"/>
</div>
<div id="topHeading">
Welcome To VidhyaJyoti.com
</div>
</p:layoutUnit>

I have applied my theme for <div id='topHeading" in my css file as follows:

#topHeading {
text-align:left;
height:65px;
overflow:hidden;
font: normal 190%/140% Georgia, "Times New Roman", Times, serif;
color:#FF0000;
line-height:75px;
padding-left:100px;
margin-top:20px;
}

This works fine when I try out on my development computer in Netbeans 8. However, when I deploy it on my web-serve, the theme is not applied. Can you help me?

pratikpanchal
Posts: 3
Joined: 25 Aug 2014, 16:15

31 Aug 2014, 07:48

Friends, the problem has been sorted out. Thanks to those of you who read this post.

anamta
Posts: 1
Joined: 29 Sep 2014, 09:57

29 Sep 2014, 10:03

Yeah, exactly, you have posted the informative post. It really helped me ahead.
Pass Testking C4120-783 exam in easy and fast way! We offer up to date Johns Hopkins University study materials including latest IBQH with 100% success guarantee.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests