-
AuthorPosts
-
January 30, 2017 at 8:27 pm #1006832
splitting this from the prev topic
The make an appointment button doesn’t appear correctly after moving it from the features intro position to footer and back – note if i move it to the footer it displays properly but in the features intro position it just shows a green bar.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 31, 2017 at 12:54 am #1006868Hi,
Your site seems to be in offline mode now, could you update the login credentials of your site so I can take a look?
Regards
February 1, 2017 at 9:00 pm #1007428This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 2, 2017 at 3:43 am #1007490It due to the wrong markup used in output of module, I just updated for you with:
<div class="main-container clearfix"><div class="text-banner"><p> </p><p></p></div> <a class="btn btn-border" href="index.php/about-us/make-an-appointment">Make an appointment</a></div>
As you can see that it’s working fine now. Kindly take a look.
February 4, 2017 at 12:55 pm #1008055hi thankyou, the appointment button now works great on the bottom of the page. But now I notice the appointment button on the top of the page behaves strangely in the small and extra small responsive layouts.
Instead of appearing below the image, as setup in the layout section, it appears beside it. Would you also know how to resolve the issue with the top appointment button?
refer to attachment for screenshot
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 6, 2017 at 6:54 am #1008424It’s the same issue as appointment button at the bottom, you should use this mockup for module on top:
<a class="btn btn-secondary" href="index.php/about-us/make-an-appointment"><i class="fa fa-comments-o"></i><span>Make An Appointment</span></a>
I updated for you and it shows fine now.
February 6, 2017 at 8:34 pm #1008626thank you that worked perfectly on the large responsive mode, however if viewing in medium mode or with responsive mode turned off the button changes from saying appointment to a image of speech bubbles. Is there code I can enter to control how this changes? I would prefer to keep it as a button with the make an appointment text
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 7, 2017 at 2:27 am #1008683Hi,
You can control how it shows via css. Add this css rule into the file: ROOT/templates/ja_medicare (your default template)/css/custom.css
.appointment-content i { display: none; } .appointment-content .btn span { display: block; }
Regards
February 7, 2017 at 10:29 pm #1008904thank you would you be able to describe the functionality in the code above so that I can amend myself in future?
I assume
.appointment-content i { display: none;}
shows the smaller version with no text and the speech bubble
and
.appointment-content .btn span { display: block;}
shows the full text version of the button
How would I set it so that in certain resopnsive modes on version shows rather than the other? e.g. right now it shows the non text version in xs, how would i set that vs showing the full text version?
I am hoping that if I can understand how to set it in all screen layouts then I can make the tweaks without your futher help.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 8, 2017 at 3:15 am #1008939Hi,
In small view port in our demo site, the ‘Make an Appointment’ text will be hidden and the image of speech bubbles will be shown with following css rule:
.appointment-content i { display: block;} .appointment-content .btn span { display: none; }
Hence, when you want to always show the appointment text, you must hide the speech bubbles by using the ‘display: none;’ property as my above post.
The template is built with T3 framework which implements Bootstrap so you can use the Media Queries to declare specific css rules to respective screen size (small / medium / large / etc…). Please check out this reference for the details: http://getbootstrap.com/css/#grid-media-queries
Hope this makes senses.
Regards
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by Saguaros 7 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum