XiongShui's picture

how to set a Link shown to "center" - like: "powered by backdrop".

Look at this: https://nachtschlaf.org

thanks for answer...

XiongShui ()

Accepted answer

I am sorry if I am explaining easy stuff, but I do not want to assume anything. 

1) You should be able to edit the "Powered By Backdrop" block on your layout page and add the HoneyPot logo there. Of course, it is not a problem to have two blocks and to keep your HoneyPot logo in it's own block. 

2) This code should center the logo:

<a href="http://www.projecthoneypot.org">
   <img alt="" data-align="center" data-file-id="32" height="15" src="/path-to-logo.jpg" width="80" />
</a>

3) You should be able to use the WYSIWYG editor to center the logo. Make sure that you have Filtered OR Full HTML in the formatting options. 

If #2 and #3 are not working, then click on the source code link and share the raw html and maybe we can see the problem. 

If you tried all these things already. Then you need to share more information. 

Comments

I am not sure if I understand your question. It sounds like you would like to create a link in the footer of your website that looks like the "Powered by Backdrop" link that is already there. 

Here is how I would do this:

  1. Go to admin/structure/layouts
  2. Click on Manage Blocks on the layout of your choice
    For more information about layouts and templates: 
    https://backdropcms.org/user-guide/layouts-and-templates
  3. Go to the footer region and click on Add Block
  4. Give the block a name and put your link in the body of the block (you can center it there). 
  5. Make the block reusable in case you need to use it in other layouts

I hope this is helpful. If I misunderstood your question, let me know. 

NOTE: Ich sprechen etwas gut Deutsch. (if that helps)

XiongShui's picture

Hi, stpaultim,

der Link ist ja drin, das hatte ich schon verstanden - was mir nicht gelingt: den Link in die Mitte des Footers zu setzen (habe alle mir bekannten/ möglichen Tricks versucht).

Or, btw. I would prefer this link show in a second row below of "Powered by Backdrop CMS" that must'nt be a own block. At the moment it looks not good, because the link is on the left border, see: www.nachtschlaf.org

Thanks a lot for your answer

XiongShui ()

I am sorry if I am explaining easy stuff, but I do not want to assume anything. 

1) You should be able to edit the "Powered By Backdrop" block on your layout page and add the HoneyPot logo there. Of course, it is not a problem to have two blocks and to keep your HoneyPot logo in it's own block. 

2) This code should center the logo:

<a href="http://www.projecthoneypot.org">
   <img alt="" data-align="center" data-file-id="32" height="15" src="/path-to-logo.jpg" width="80" />
</a>

3) You should be able to use the WYSIWYG editor to center the logo. Make sure that you have Filtered OR Full HTML in the formatting options. 

If #2 and #3 are not working, then click on the source code link and share the raw html and maybe we can see the problem. 

If you tried all these things already. Then you need to share more information. 

XiongShui's picture

ok, stpaultim,

I've been following your assingnment, the product is shown on my Blog -

I made a mistake by C&P, but now is all clear :)

Thanks, XS ()