Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

tweaks to widgets on home page

Posted on 2016-09-15
17
Medium Priority
?
58 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 1000 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 1000 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 35

Assisted Solution

by:Terry Woods
Terry Woods earned 1000 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 6

Accepted Solution

by:
ResQTek Nancy earned 1000 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
 
LVL 6

Assisted Solution

by:ResQTek Nancy
ResQTek Nancy earned 1000 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 6

Assisted Solution

by:ResQTek Nancy
ResQTek Nancy earned 1000 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 6

Assisted Solution

by:ResQTek Nancy
ResQTek Nancy earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

916 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