Results 1 to 6 of 6
-
4th Aug 2012, 07:50 AM #1OPMember
Styling <hr> tag in widget
Hello everybody! I have a "small problem" with genesis widgets.
If you go toCode:www.cdacertificationhq.com
I think that this is happening because recent/popular widgets are from wordpress itself, and they are using style defined by wordpress, and featured articles widget is from genesis and apparently have a little different style.
Any idea how to edit/style the line in featured articles widget ?
I can post code from any file that you may need.
Thank you!Cojba Reviewed by Cojba on . Styling <hr> tag in widget Hello everybody! I have a "small problem" with genesis widgets. If you go to www.cdacertificationhq.com you will see that the hr line between titles in recent/popular articles and featured articles is different. The hr line in featured articles is longer. I think that this is happening because recent/popular widgets are from wordpress itself, and they are using style defined by wordpress, and featured articles widget is from genesis and apparently have a little different style. Any Rating: 5HQLessons.Net + HQLessons.Com + 8months of HQ shared hosting - 30$
Selling two themaPosters for 25$ or 15$ for each. Payza(AP) only. Contact me :)
Respected and trusted members: wf?9, Jimmy, ramicn, Matijasevic, rkze1
Cheap desktop apps development. Contact via pm or msn.
-
4th Aug 2012, 08:17 AM #2Pure Awesomeness!
Nothing is defined by wordpress, it's all in your style.css. A simple quick fix for your problem is adding a width value to the featured posts widget:
Find .featuredpage .page, .featuredpost .post in /style.css (line 1040) and add width: 242px;, you'll end up with this:
.featuredpage .page, .featuredpost .post {
border-bottom: 1px solid #DDDDDD;
margin: 0 0 5px;
overflow: hidden;
padding: 0 12px 10px;
width: 242px;
}
result: http://i.imgur.com/pT348.png
-
4th Aug 2012, 11:11 AM #3OPMember
@RT - thank you very much for your detailed answer. This is great. But, is there a chance that I can make a space from the left also ? This is a solution to shorten the <hr> from right, but can I shorten it from left also ?(like in recent/popular).
Tnx once again!HQLessons.Net + HQLessons.Com + 8months of HQ shared hosting - 30$
Selling two themaPosters for 25$ or 15$ for each. Payza(AP) only. Contact me :)
Respected and trusted members: wf?9, Jimmy, ramicn, Matijasevic, rkze1
Cheap desktop apps development. Contact via pm or msn.
-
4th Aug 2012, 05:57 PM #4Pure Awesomeness!
Here you go:
.featuredpage .page, .featuredpost .post {
border-bottom: 1px solid #DDDDDD;
margin: 0 0 5px 14px;
overflow: hidden;
padding: 0 0 5px;
width: 251px;
}
Result: http://i.imgur.com/TGt7L.png
-
4th Aug 2012, 09:35 PM #5OPMember
Great! Thanks a lot!
HQLessons.Net + HQLessons.Com + 8months of HQ shared hosting - 30$
Selling two themaPosters for 25$ or 15$ for each. Payza(AP) only. Contact me :)
Respected and trusted members: wf?9, Jimmy, ramicn, Matijasevic, rkze1
Cheap desktop apps development. Contact via pm or msn.
-
5th Aug 2012, 02:13 AM #6Pure Awesomeness!
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Removing border from a particular widget only
By Cojba in forum WordpressReplies: 0Last Post: 6th Aug 2012, 08:53 AM -
CSS Help Styling Divs
By blow in forum vBulletinReplies: 1Last Post: 30th Apr 2011, 03:25 PM -
Styling <Object>
By Hillside in forum Web Development AreaReplies: 1Last Post: 10th Mar 2011, 04:56 AM -
Styling Select Option:hover problem in css
By Palooo 2009 in forum vBulletinReplies: 8Last Post: 21st Jul 2010, 08:21 AM -
IMDB desktop widget?
By Fatal in forum General DiscussionReplies: 1Last Post: 11th Oct 2009, 12:27 PM
themaPoster - post to forums and...
Version 5.35 released. Open older version (or...