Home › Forums › Calendar Products › Events Calendar PRO › Reduce width of Single Event Container
- This topic has 11 replies, 2 voices, and was last updated 13 years, 1 month ago by
Barry.
-
AuthorPosts
-
February 25, 2013 at 8:43 pm #40974
lghadmin
ParticipantI’ve done a tone of searching on the forums but I’m still not sure if this is a CSS thing or a container thing. For some reason, the Event Calendar “post” container is too wide for the center of my theme. See page example: http://loring-greenough.org/publicevent/women-of-jamaica-plain/ How do I get the sidebar to show up in the correct place again?
February 26, 2013 at 6:46 am #40999Barry
MemberHi lghadmin, I think you are going to have to do one or both of these things:
* Add new CSS rules for div#container … you may for instance wish to apply float:left
* Add new CSS rules for div#sidebar … you might for instance wish to apply either a right or left float and also specify a width, such as width:210pxDoes that help here?
February 26, 2013 at 8:57 am #41018lghadmin
ParticipantIt kind of helps. I’ll try adding the CSS to the theme and get back to you if that doesn’t work.
February 26, 2013 at 9:09 am #41022lghadmin
ParticipantAfter a little closer inspection and one moment of trying this solution out, – it looks like the The Events Calendar CSS you indicated here would inherit from the overall site Container (which uses div#container) so the result would be to reduce the entire site’s width.
February 26, 2013 at 10:49 am #41039Barry
MemberWhat is your Events > Settings > Template > Events Template setting currently set to – and have you tried experimenting with this?
February 26, 2013 at 11:32 am #41047lghadmin
ParticipantI had the ‘Default Events’ template selected which gave me the full page calendar that looks good but the wonky post. I have now selected the ‘default page’ template which gives me a better looking single event post but gets rid of the full width calendar page. There is a template choice from the the them creator but that negates the calendar page entirely. I guess what I have to figure out is how to get rid of the sidebars from the calendar page. Unless you can tell me how to find the page id # for the calendar page then I have to go to the theme creator and post something there as well.
February 27, 2013 at 6:52 am #41118Barry
MemberYep unfortunately there is no page ID for items such as the gridview or upcoming events list, they are what some people describe as “virtual pages”.
If the default events template gets you most of the way there (I’m not quite sure what you mean by wonky post but it can probably be fixed) then it may be worth sticking with that and either changing the IDs and classes so they can be targeted by CSS rules without impacting on other pages or else looking at different CSS tweaks.
March 2, 2013 at 10:29 am #41404lghadmin
ParticipantI have it set to default page now live (which gets me almost there). The wonky page shows up when I switched to the default events template. Here’s a screenshot: http://screencast.com/t/bqavyGr5dCgf. What I really like is that full page calendar page but I can’t seem to get that using the default page template. The sidebars show up. I can remove the sidebars if I have a page ID but if there is no page ID then I’m stuck with the default page.
March 2, 2013 at 11:57 am #41408lghadmin
ParticipantI was able to locate the Page ID but using the Chrome Inspector tool to remove the sidebars. This is a good clue for other people out there trying to do the same thing.
March 4, 2013 at 7:17 am #41461Barry
MemberOK – so you’re all sorted here?
March 4, 2013 at 7:16 pm #41544lghadmin
ParticipantSort of – When I removed the sidebars, it also removed the sidebars from the post page too so that was full width. I’ll figure things out.
March 5, 2013 at 6:45 am #41588Barry
MemberGreat. If you think we can offer up any pointers just post back and we’ll try to help. You might also be interested in:
* Themer’s Guide
* Template Overrides TutorialThanks 🙂
-
AuthorPosts
- The topic ‘Reduce width of Single Event Container’ is closed to new replies.
