Build Your Own Business Website header image

Welcome to our Members Only Forum

You are welcome to view the content on our Forum, just scroll down to view this forum post.
If you like what you find and want to be able to post a question, please check out our subscription options.
Please feel free to search the forum using either the Google Site Search above or the forum search below.

Avatar
Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Coding issue -- I seem to be missing something -- need fresh eyes
Avatar
Heidi Hafner
Sahuarita, Arizona
Member
Members

Community Member
Forum Posts: 506
Member Since:
October 7, 2012
sp_UserOfflineSmall Offline
1
March 27, 2019 - 7:34 pm
sp_Permalink sp_Print sp_EditHistory

Hey folks! I have got very tired eyes about this time of night. Wonder if someone could spot me and see what I'm missing. 

On this page, I am trying to get the gap under the image reduced. I had way too much, now I still have a little too much. head-bang I have the following CSS code:

.client-img {
    float:left;
    width:50%;
    margin: 0 20px 20px 0;
    padding-bottom: 0;
} 
.wp-image-1025 {
    margin-bottom: 0 !important;
}

The class .client-img is used in other places on the website, with other testimonials. So, I can't change those margin dims. I just need the margin-bottom changed for this one image. When I inspect the code and change the margin-bottom from 20px to 0, the space goes away, which is what I want. 

I've tried other callouts, but I'm not getting it:

.client-img.wp-image-1025 {
    margin-bottom: 0 !important;
}
.wp-image-1025.client-img {
    margin-bottom: 0 !important;
}
.client-img > .wp-image-1025 {
    margin-bottom: 0 !important;
}

and a couple others using the image class. I can't seem to get that gap under the images to go way. Am I typo'ing something? I never have this much trouble maneuvering an image. So, I think I must be typo'ing.

Appreciate any help... embarassed

Heidi Hafner,
Hafner Designs

Avatar
Heidi Hafner
Sahuarita, Arizona
Member
Members

Community Member
Forum Posts: 506
Member Since:
October 7, 2012
sp_UserOfflineSmall Offline
2
March 27, 2019 - 8:54 pm
sp_Permalink sp_Print

Well, nothing was working so I changed my class callout. Just means if I have to make changes, I'll have to hit this one by itself.

Heidi Hafner,
Hafner Designs

Avatar
Rick Anderson
Desert Hot Springs, CA
Admin
Forum Posts: 13637
Member Since:
November 8, 2009
sp_UserOfflineSmall Offline
3
May 17, 2019 - 10:25 am
sp_Permalink sp_Print

Obviously you've worked this out on your own.  I just wanted to say "Well Done"!  That site looks great, you should be proud of it.

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 228

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Keith W Jones: 1422

Brian Tozer: 1004

Carolin: 982

Heidi Hafner: 506

John Cunningham: 423

Reece Morrel: 353

Newest Members:

sharonmarks

emma80233

Tijs de Jong

Daniel Frey

mutek

emma9349

Forum Stats:

Groups: 8

Forums: 46

Topics: 6987

Posts: 34771

 

Member Stats:

Guest Posters: 6

Members: 6760

Moderators: 2

Admins: 2

Administrators: Rick Anderson, Rick Anderson

Moderators: Pierre Cote, Laura Nugent