Tagged: x
-
AuthorPosts
-
December 30, 2016 at 12:04 pm #1310115
isdg01ParticipantHi,
I am wanting to change the text in several areas on a new site I’m building. These will be global changes. I’m using Integrity theme.
1. In the Promo shortcode, the link says “Read More”. I would like it to say “Register Now”.
2. For the Blog section sidebar, the headline says “Recent Posts”. I would like it to say “Past Events”.Can you please provide the CSS to make this happen? I haven’t seen any similar requests in the forum.
Thanks!
DawnDecember 30, 2016 at 1:40 pm #1310194
JoaoModeratorHi Dawn,
Sure, please provide your URL,
Thanks
Joao
December 30, 2016 at 2:33 pm #1310238
isdg01ParticipantThis reply has been marked as private.December 30, 2016 at 3:59 pm #1310316
isdg01ParticipantOne more question, same site/page as last note. In the Blog sidebar, Archives section – I am going to be adding 2014 and 2015 to the archives. How can I set those in descending order so they are listed as 2017, 2016, 2015, 2014.
Thanks in advance!
DawnDecember 30, 2016 at 9:54 pm #1310647
Rue NelModeratorHello Dawn,
To display the archives in descending order, since the child theme is set up, please add the following code in your child theme’s functions.php file
// Descending Archives // ============================================================================= function descending_archives($args){ $args['order'] = 'DESC'; return $args; } add_filter('widget_archives_args', 'descending_archives'); // =============================================================================We would loved to know if this has work for you. Thank you.
January 4, 2017 at 1:23 pm #1316229
isdg01ParticipantHi,
I will try the code for descending archives, but my original questions did not get answered…
I am wanting to change the text in several areas on a new site I’m building. These will be global changes.
1. In the Promo shortcode on the homepage, the link says “Read More”. I would like it to say “Register Now”.
2. For the Blog section sidebar (http://senioraggieleadership.com/dev/events/past-events/), the headline says “Recent Posts”. I would like it to say “Past Events”.
3. I am trying to change the font size of the Category Archive Entry Title. I would also like to make the Read More link in the archived posts smaller. I have tried several pieces of code I have found in the forums but they are not working for me… This is the page I am referring to. http://senioraggieleadership.com/dev/category/2106-breakfast-series/ The first title is Ethics in Leadership.
Thanks,
DawnJanuary 4, 2017 at 9:22 pm #1316842
Rue NelModeratorHello Dawn,
Thanks for updating us in!
1] There is no built in Read more button or link in the promo element. Most likely, this text is within the promo content. If you want to change it, please edit your page and replace read more with register now text. Please see the screenshot: http://prntscr.com/drnxou
2] For the widget title in your sidebar which says “Recent Posts”, if you want to change this, you’ll need to go to Appearance > Widgets and find that recent post widget so that you can change the title. Please check it here: http://prntscr.com/drny5d
3] And finally, to make the read more text link smaller, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.site .more-link { font-size: 16px; font-weight: 500; }We would loved to know if this has work for you. Thank you.
January 5, 2017 at 12:01 pm #1317599
isdg01ParticipantThanks so much. This was very helpful and not nearly as complicated as I was thinking!
The only thing that is not working correctly is the Descending Archives. I added the piece of code provided above to my functions.php child theme file but my Archives are still showing as 2014, 2015, 2016. I have changed all of the dates so the older posts are tagged as created in 2014, 2015, etc. but the older archives are still showing before the newer archives. I would like the Archives list to show as 2016, 2015, 2014. It seems like this would be default but it doesn’t seem to be…
January 5, 2017 at 1:29 pm #1317707
JadeModeratorHi there,
Would you mind providing your FTP details as well so that we could check this further?
Thank you.
January 5, 2017 at 1:43 pm #1317732
isdg01ParticipantThis reply has been marked as private.January 5, 2017 at 9:38 pm #1318347
Rue NelModeratorHello There,
The given code is not working because it is for the Archive widget and not for the Category Widget. Please have the code updated and use this instead:
// Descending Category Archives // ============================================================================= function descending_category_archives($args){ $args['order'] = 'DESC'; return $args; } add_filter('widget_categories_args', 'descending_category_archives'); // =============================================================================If you need anything else we can help you with, please let us know.
January 6, 2017 at 5:35 pm #1319457
isdg01ParticipantIt’s working now. Thanks for all of your help!
January 6, 2017 at 5:57 pm #1319485
isdg01ParticipantOne last question before this site is done… On my dropdown nav, I have applied a separate color for the background and text. It works perfectly when you first land on the site, but after you click on one of the dropdowns and then go back to the nav bar, the background color on the dropdowns changes to white. My text is also white, so it makes it so you can’t see the item in the nav. You can tell there is something there, you just can’t read it.
Here are a couple of pages that are showing what I am describing:
http://senioraggieleadership.com/dev/about-salc
Click on Meet-the-board in the dropdown. 1st time it works, 2nd time the color is gone.http://senioraggieleadership.com/dev/membership
Click on Membership-renewals in the dropdown. 1st time it works, 2nd time the color is gone.http://senioraggieleadership.com/dev/events
Click on Past Events or Photo Gallery in the dropdown. 1st time it works, 2nd time the color is gone.Any ideas on how to fix this?
Thanks,
DawnJanuary 7, 2017 at 12:54 am #1319880
ChristopherModeratorHi there,
Please ad this :
.x-navbar .desktop .sub-menu .current-menu-item > a { color: #000; background-color: #998542; } .current-page-ancestor > a { box-shadow: inset 0 4px 0 0 #500000; color: #fff !Important; }Hope it helps.
January 10, 2017 at 3:17 pm #1324532
isdg01ParticipantThanks for this last piece of code for the dropdown menus, but it doesn’t seem to be working. It looked like it was going to, but after clicking around I am getting the same results I was getting before inserting the code… When hovering over primary menu item, you can’t read the dropdown item that has already been clicked on. You get a white background with white text… I am attaching a jpg showing what my issue is along with a better explanation of what I am trying to achieve. I am open to options on how to best work with the dropdown colors, but you have to be able to read it in the end!
Thanks,
Dawn -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1310115 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
