-
AuthorPosts
-
July 29, 2017 at 6:34 pm #1052410
Also FYI I have removed the code from local/tpls/default.php for the events block I am trying to add so that I can take my site live this weekend. But please let me know what I have done wrong so I can get this block added where it needs to be. Thanks.
July 31, 2017 at 2:26 am #1052524??
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 31, 2017 at 2:37 am #1052531Hi
You are using default.php layout from the local folder but you have not defined the blocks in the /tpls/blocks/default.php
http://prntscr.com/g193ls
Kindly add them in tpls folder and as well in the /local/tpls folder
In your code, there is a syntax error.Please use this code<?php $this->loadBlock ('events') ?>
Add the same code i suggested and defined them in both folders.
Regards
July 31, 2017 at 5:33 pm #1052827Thank you. I don’t remember the instructions saying it had to be in both locations.
I have made sure it’s in both locations and now it’s working! Much appreciated!How do I get the grey spacing between the masthead and the events block? There is the grey spacing between the body and the events block but I want the space between the other two blocks. See images.
My site is now live at: http://shoals.k12.in.us
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 1, 2017 at 1:56 am #1052876Hi
Can you enable the module on the site?
I have not found this module is enabled on your site.
Anyway, you can use firebug or inspect element to check the style classes and customise the style using the custom.css file as per your needs.
http://prntscr.com/g2s8npRegards
August 1, 2017 at 3:16 pm #1053056I have this enabled on this page: http://shoals.k12.in.us/index.php/high-school
I have changed the class to "t3-footer" and I like how the size of the text and images are under that class. However I do not like the white space that is below, how do I remove that. Also how do I add the grey space above the block between that and the masthead? Thanks!
- This reply was modified 7 years, 5 months ago by montgomeryr.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 2, 2017 at 4:25 am #1053143Hi
You have added the T3-footer class in your custom block and it uses the same padding.
See this: http://prntscr.com/g39n3h.t3-footer { color: #666; font-size: 12px; padding: 40px 0 60px; }
I suggest you create your own class and override the padding bottom.
Add this code in custom.css file to create space below masthead
.t3masthead {margin-bottom:30px;}
PS: create a new topic for each different topic question, it also help other users to find same topics
This thread is for the masthead block that is already closed.Regards
AuthorPostsThis topic contains 21 replies, has 3 voices, and was last updated by Pankaj Sharma 7 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum