Community Forums › Forums › Archived Forums › Design Tips and Tricks › Border around Featured Images in Agent Press
- This topic has 9 replies, 2 voices, and was last updated 11 years, 5 months ago by sheilasteer.
-
AuthorPosts
-
April 12, 2013 at 5:08 am #34947sheilasteerMember
Anyone know how I can change the light grey border around the featured images and the community images in agentpress to be a different width and color?
April 12, 2013 at 12:55 pm #35051Brad DaltonParticipantLink to your site please so we can inspect the element using Firebug and change the color in real time on your site to test that it works before handing you the code.
April 12, 2013 at 1:07 pm #35054sheilasteerMemberThanks but I figured it out:
communities a img,
.featured-bottom a img,
.listing-wrap a img {
border: 1px solid #273549; /*** changed from ddd to 273549 THIS PUTS BOX AROUND FEATURED LISTINGS***/
margin: 0 0 5px; /*** AND COMMUNITY PICTURES in color 273549!!! ***/
padding: 4px;April 12, 2013 at 1:08 pm #35055sheilasteerMembersorry that didn't print clearly
/*** changed border from ddd to 273549 THIS PUTS BOX AROUND FEATURED LISTINGS***/
/*** AND COMMUNITY PICTURES !!! ***/
communities a img,
.featured-bottom a img,
.listing-wrap a img {
border: 1px solid #273549;
margin: 0 0 5px;
padding: 4px;April 12, 2013 at 4:09 pm #35092sheilasteerMemberHere's the website - http://www.phyllisatkinsberryhomes.com
I was able to get the border around the featured listings but it is cut off on the right for the communities and the name is now not centered under the community picture since I switched the width and added the dark border......
Would love help - Thanks!!
April 12, 2013 at 4:11 pm #35094sheilasteerMemberHere's the website - http://www.phyllisatkinsberryhomes.com
I was able to get the border around the featured listings but it is cut off on the right for the communities and the name is now not centered under the community picture since I switched the width and added the dark border......
Would love help - Thanks!!
I'm also having trouble centering the links in the welcome widget....
April 12, 2013 at 7:02 pm #35118Brad DaltonParticipant.communities a img, .featured-bottom a img, .listing-wrap a img { border: 1px solid #273549; margin: 0 0 5px; padding: 4px; }
Line 1442 Remove margin 40px
You'll then need to use Firebug and centre the widgets.
April 13, 2013 at 12:36 pm #35235sheilasteerMemberThanks - that worked - I have never used firebug but just installed it and I'm not quite sure how to center communities -
I see the layout and when I change the padding in this to 25px 25px 25px
it moves the border out to the edge to make room for the 25px left and right instead of centering what's inside the border.
.communities {
border: 3px solid #273549;
clear: both;
margin: 10px auto 25px;
overflow: hidden;
padding: 25px 0 15px;
text-align: center;
width: 1010px;I also somehow lost the price on the featured listings even though I didn't change that code for the listing price.
Any help would be greatly appreciated! I realize I have to get a lot better at using firebug.
Thanks!!!!April 14, 2013 at 8:20 am #35388sheilasteerMemberFixed the price on featured listings using firebug - accidentally left an extra / making a comment!
Still struggling to figure out how to center communities and featured listings -
April 15, 2013 at 6:39 pm #35674sheilasteerMemberIf I increase the padding in .communities for the left side it will center the communities - the problem is it also moves over the border I have around the community section - which I don't want -
is there a way to have a border and tell it to be in an exact position - absolute?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.