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?
Overriding Primefaces 5 themes
-
- Posts: 3
- Joined: 25 Aug 2014, 16:15
Friends, the problem has been sorted out. Thanks to those of you who read this post.
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.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests