Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1310115
    isdg01
    Participant

    Hi,

    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!
    Dawn

    #1310194
    Joao
    Moderator

    Hi Dawn,

    Sure, please provide your URL,

    Thanks

    Joao

    #1310238
    isdg01
    Participant
    This reply has been marked as private.
    #1310316
    isdg01
    Participant

    One 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!
    Dawn

    #1310647
    Rue Nel
    Moderator

    Hello 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.

    #1316229
    isdg01
    Participant

    Hi,

    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,
    Dawn

    #1316842
    Rue Nel
    Moderator

    Hello 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.

    #1317599
    isdg01
    Participant

    Thanks 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…

    #1317707
    Jade
    Moderator

    Hi there,

    Would you mind providing your FTP details as well so that we could check this further?

    Thank you.

    #1317732
    isdg01
    Participant
    This reply has been marked as private.
    #1318347
    Rue Nel
    Moderator

    Hello 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.

    #1319457
    isdg01
    Participant

    It’s working now. Thanks for all of your help!

    #1319485
    isdg01
    Participant

    One 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,
    Dawn

    #1319880
    Christopher
    Moderator

    Hi 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.

    #1324532
    isdg01
    Participant

    Thanks 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

  • <script> jQuery(function($){ $("#no-reply-1310115 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>