August 24, 2014 at 5:34 pm #120830
I am using the Agency Pro theme.
I would like to know how I can make the Home Bottom (widget – Recent Articles)) work like the Home Middle (widget – Our Work). I want it so then the post (box) only shows the featured picture, but when you hover over it with the mouse, it transitions grey, and shows the text. For some reason, I can’t get the featured picture to be in the same size and format as the Home Middle (widget – Our Work). Basically, I want the Home Bottom to look and behave exactly like the Home Middle.
I hope that makes sense… please let me know if you have any other questions. Many thanks!
DonaldAugust 25, 2014 at 1:26 am #120865
Try replacing the code with the home middle code. You’ll need to do this with the PHP only as long as you use the same classes
August 26, 2014 at 12:39 am #121061
Thanks for your reply. Can you please provide me with more detailed instructions on how to do this? which PHP? and code?
Thanks in advance!
DonaldAugust 26, 2014 at 2:07 am #121077
What have you tried so far Donald?
August 27, 2014 at 12:58 am #121248
I haven’t tried anything, because I don’t know what is meant by:
“You’ll need to do this with the PHP only as long as you use the same classes”…
I’m not sure which part I should be editing… is it the style.css?
Which css code to I replace with what?
Sorry, I’m still learning…. thanks in advance for your help.
DonaldAugust 27, 2014 at 9:07 am #121332
In the front-page.php file, replace the home-bottom code with the code for the home-middle.
No CSS edits are needed.
As a web designer, i suggest you install WordPress locally, load up the theme and modify the code in that file.
This is an excellent way to learn how SP themes work.
If i do your work for you, you won’t learn a thing.
There’s not much code you need to modify, just one class in the PHP which generates the widget.
'before' => '<div id="home-bottom" class="home-middle widget-area"><div class="wrap">',
August 27, 2014 at 10:21 am #121350August 30, 2014 at 7:06 pm #121952
So after I make the change in the PHP, do I then adjust the widget for HOME BOTTOM, to make is the same as HOME MIDDLE?
You must be logged in to reply to this topic.