Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We need 4 images on the home page instead of 3. Easy to make an image, but not sure how to add it in. We'd like for images to come from recent content, or from a taxonomy created for that purpose. Like the look you have going there and would like to stick with it.
Comment | File | Size | Author |
---|---|---|---|
#4 | TGEus-responsive-files.zip | 3.89 KB | TGEink |
Comments
Comment #2
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commentedPremium Responsive themes uses flexslider (Fully Customizable) for front page slider.
Further, if you want to change slide which is coming form content, that's difficult enough to manage. So an alternative way is to use Views Slideshowmodule or other slider module for that you can make changes in
page.tpl.php
file and css changes.For adding 4th slide into flexslider, please follow below steps:
1. Go to
theme-settings.php
and find below code.Enter the below code after the above code.
This would set 4th slide setting in theme settings.
2. Go to your
page.tpl.php
file (i.e.sites\all\themes\responsive\templates\page.tpl.php) find the below code.Enter the below code after the above code.
3. Go to user images folder(sites\all\themes\responsive\images) add image to be added for 4th slider. Set image file name to "slide-image-4.jpg". [This is mandatory]
Let me know if you face any query/concern regarding the same.
Comment #3
TGEink CreditAttribution: TGEink commentedThank you so much. Tana
Comment #4
TGEink CreditAttribution: TGEink commentedWe don't get the grey bar with the title. Slide comes up fine. Attaching the two files with our changes.
http://www.thegreeneconomy.us
Other than that, we really love your theme. Love your company. Will contribute. Tana
Comment #5
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commentedHey Tana, we do not own this theme, we are just contributing our time in providing you assistance with your challenge for this theme.
Regarding your query related to title, you need to manage it via CSS.
In page.tpl.php find below code:
$url3 = check_plain(theme_get_setting('slide3_url','responsive')); $cap3 = check_markup(theme_get_setting('slide3_desc','responsive'), 'full_html');
After add this code:
$url4 = check_plain(theme_get_setting('slide3_url','responsive')); $cap4 = check_markup(theme_get_setting('slide4_desc','responsive'), 'full_html');
Hope this address your concern.
Thanks
Comment #6
saurabh.dhariwal CreditAttribution: saurabh.dhariwal at AddWeb Solution Pvt. Ltd. commented