Solved

tweaks to widgets on home page

Posted on 2016-09-15
17
36 Views
Last Modified: 2016-09-22
http://screencast.com/t/g297G7bOhFN

How do I reduce space BETWEEN Home Bottom Widgets?
How do I change the LEARN MORE to the blue color that is like Home Middle?
0
Comment
Question by:nsitedesigns
  • 10
  • 4
  • 3
17 Comments
 

Author Comment

by:nsitedesigns
ID: 41800667
0
 
LVL 35

Assisted Solution

by:Terry Woods
Terry Woods earned 250 total points
ID: 41800691
The width of the widgets and the margin-right for the first one is set with:
.footer-widgets-1 {
    margin-right: 30px;
}
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
    width: 360px;
}

Open in new window


This is poorly written code as it's not responsive to the size of the window it's viewed in. Due to that problem, changing it may require changes to the above code, plus other changes. Modern web design more commonly has width as a % rather than a fixed pixel value. eg 33% or 32% for 3 widgets, with a little left over to allow some margins.

Anyway, you can override style of a theme without editing the theme itself (or needing a child theme) by using a CSS plugin like "My Custom CSS" or "Simple Custom CSS".

Are you familiar with how to use dev tools in Chrome to play with the style of the page while you view it?
0
 
LVL 35

Assisted Solution

by:Terry Woods
Terry Woods earned 250 total points
ID: 41800696
For the Learn more text, add this to your custom css:

.home-bottom a.more-link, .home-middle a.more-link, .home-top a.more-link {
    color: #468096;
}

Open in new window

0
 
LVL 35

Assisted Solution

by:Terry Woods
Terry Woods earned 250 total points
ID: 41800698
By the way, there isn't a margin-right for the middle widget. Instead, the right widget is floated right, and the middle one is spaced by the margin-right for the left widget.
0
 
LVL 5

Accepted Solution

by:
ResQTek Nancy earned 250 total points
ID: 41800704
.content .home-bottom .featured-content .entry, .sidebar .featured-content .entry {
    border-bottom: none;
   margin-bottom: 0 !important; /* i added this */
}

p {
   margin: 0; /* i changed this */
    padding: 0;
}

I added !important to the color of the .more-link element like this:     color: #46809b !important;


** edit: sorry for cross-posting, I was editing at the same time as the previous expert **
0
 

Author Comment

by:nsitedesigns
ID: 41808929
Sorry was out sick...

Let me take a look at what you wrote.
0
 

Author Comment

by:nsitedesigns
ID: 41808959
Terry,  I tried entering your code in the custom css plugin but it didn't do anything with changing the color.  I cleared cache and viewed in private browser.   When I changed it and inspected the element, it did display fine but there is a line through the color so something is overwriting  it and making it black.   See screen shot
http://screencast.com/t/O3kxRXM7cH
0
 

Author Comment

by:nsitedesigns
ID: 41808974
Nancy,

I put the important by the Learn more link and that fixed it but the code to remove the excess padding didn't work.  : (
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 5

Assisted Solution

by:ResQTek Nancy
ResQTek Nancy earned 250 total points
ID: 41808981
That issue seems to be caused by this property:

.entry-content ol, .entry-content p, .entry-content ul, .quote-caption {
    margin-bottom: 26px;
}
0
 

Author Comment

by:nsitedesigns
ID: 41809003
I looks like the culprit might be the entry-content but when I removed padding from the bottom noting happened.

http://screencast.com/t/NiNCKLIrs
0
 

Author Comment

by:nsitedesigns
ID: 41809014
Nancy,

Sorry, our paths crossed.  I did put in the code you provided for bumping up the Learn More.
.entry-content ol, .entry-content p, .entry-content ul, .quote-caption {
    margin-bottom: 26px;
} 

Open in new window


That did help close the gap but it still looks weird to me.  Is  there a way to "easily" put the learn more after the text?  Seems funky to have it sit so low below the image.  Or, would that require an act of Congress?  LOL  See screen shot.
http://screencast.com/t/bPdmvRE98wK
0
 

Author Comment

by:nsitedesigns
ID: 41809031
Terry,

Your suggestion to replace px with %  fixed the funky floating didn't seem to work.

I set margin-right to "0" and set width to 33%.

OLD CODE
.footer-widgets-1 {
    margin-right: 30px;
}
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
    width: 360px;
}

Open in new window


NEW CODE
.footer-widgets-1, .footer-widgets-2, .footer-widgets-3 {
    width: 33%;
}


.footer-widgets-1 {
  margin-right: 0px;}

Open in new window

0
 
LVL 5

Assisted Solution

by:ResQTek Nancy
ResQTek Nancy earned 250 total points
ID: 41809050
.home-bottom a.more-link, .home-middle a.more-link, .home-top a.more-link {
    clear: both;  /* remove this */
    color: #222;
   display: block; /* remove this */
    font-size: 14px;
    padding: 8px 0px;
    text-align: left;
    text-decoration: underline;
}
0
 

Author Comment

by:nsitedesigns
ID: 41809747
I think I fixed this I futzed with the settings in the widget and it is looking better.  Here is what I did:

Increase the amount of text to display
Pushed image to the right

Simple yet effective!
0
 

Author Comment

by:nsitedesigns
ID: 41809759
p.s.  I searched in the css for .home-bottom a.more-link and there were no results....
0
 
LVL 5

Assisted Solution

by:ResQTek Nancy
ResQTek Nancy earned 250 total points
ID: 41810941
If you're using the Simple Custom CSS plugin, it's in there.
0
 

Author Closing Comment

by:nsitedesigns
ID: 41811071
Thanks all!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now