• Resolved Kisshu

    (@curiolab)


    Hello,
    Finally my website made with sydney theme is live (www.curiobiotech.com).
    I have a few questions:

    I would like to add a couple of lines in the footer for credentials: 1) for Sydney Theme 2) logomakr. How can I do that?

    Thank you

Viewing 12 replies - 1 through 12 (of 12 total)
  • Open footer.php and look for the following:
    <footer id="colophon" class="site-footer" role="contentinfo">...</footer>

    Inside this block put your custom text. It should look something like this:

    
    <footer id="colophon" class="site-footer" role="contentinfo">
    		<div class="site-info container">
    			<a href="<?php echo esc_url( __( 'https://www.ads-software.com/', 'sydney' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'sydney' ), 'WordPress' ); ?></a>
    			<span class="sep"> | </span>
    			<?php printf( __( 'Theme: %2$s by %1$s.', 'sydney' ), 'aThemes', '<a href="https://athemes.com/theme/sydney" rel="designer">Sydney</a>' ); ?>
    <div id="my-custom-info">
    Credential and other information go here...
    </div>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    

    Let me know if this helps.

    Thread Starter Kisshu

    (@curiolab)

    Hi Subrata,

    Excellent. It worked like a charm. Thanks a lot.

    Best regards.

    Thread Starter Kisshu

    (@curiolab)

    Hi Just came a small problem.

    The last sentence is not aligned properly

    Please see the screen shot
    https://ibb.co/jWmdy5

    The logomakr should be aligned to centre.

    Thanks for the help

    Hello there,

    Wrap your text with a DIV tag and center it with inline CSS. It should look like this:

    
    <div style="text-align:center;">
    Logomakr
    </div>
    

    Regards,
    Kharis

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Actually there was a step left out: do not edit the theme’s footer.php file. When an update to the theme happens you will lose all of your changes and you would not like that.

    Instead create and activate a child theme of Sydney.

    https://codex.www.ads-software.com/Child_Themes

    Once you have the child theme activated then copy the original footer.php into the wp-content/themes/sydney-child directory and then edit the copy instead.

    Thank you for pointing that out, Jan. We have a premade Sydney child theme you can use for starting point instead of creating a child theme from scratch.

    Regards,
    Kharis

    Thread Starter Kisshu

    (@curiolab)

    Dear Kharis and Jan – I used the same child them which you pointed.

    First downloaded the file added footer.php file into the child theme and uploaded the child theme.

    Every thing is great except the alignment.

    I would like the following in 3 lines:

    ? 2017 Curio Biotech SA
    Powered by WordPress Sydney Theme (link this to: https://www.ads-software.com/themes/sydney/)
    Logomakr (Link this to: https://www.logomakr.com)

    with centre aligned.

    I appreciate if you can send me the code that i can add to the footer child theme.

    Thank you.

    In your footer credit, use this HTML code:

    
    <div style="text-align: center;">
      <div>First line</div>
      <div>Second line</div>
      <div>Third line</div>
    </div>
    

    Regards,
    Kharis

    Thread Starter Kisshu

    (@curiolab)

    Dear Kharis,

    Thank you. Worked great with your new code.Please see the screen shot.

    https://ibb.co/bPZ7ak

    It would be great if one can reduce the space between each line. Can you please send me code to adjust the space between each line.

    Great day.
    Kesava

    Dear Kesava,

    To reduce the spaces on each line, you’ll need to add this CSS code to override the default line height. Adjust the value if needed.

    
    .site-footer {
      line-height: 20px;  
    }  
    

    To apply to your site put it into Appearance > Customize > Additional CSS in your site dashboard.

    Regards,
    Kharis

    Thread Starter Kisshu

    (@curiolab)

    Thank you Kharis. It worked great.
    You guys are giving a great support.
    I am happy with 25px.

    Best regards,
    Kesava

    You’re most welcome here Kesava!

    Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

    Regards,
    Kharis

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Footer credentials’ is closed to new replies.