Jump to content


Photo
- - - - -

Tertiary sidebar problem


  • Please log in to reply
19 replies to this topic

#1 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 02 March 2011 - 06:31 PM

Hi all, I need little help. I want to my tertiary sidebar shows ONLY on this page

Please Login or Register to see this Hidden Content

I can't make it work.... :( ThX!

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 02 March 2011 - 09:32 PM

I don't even see it on that page? Did you drag the tertiary sidebar into either Sidebar1 or Sidebar2 template area in the template setup options panel?

#3 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 03 March 2011 - 12:03 AM

Yes, I tried everything, I've put it in Sidebar1, and also in Sidebar2....

#4 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 03 March 2011 - 06:40 AM

Sure this is possible with CSS. Please get setup with Firebug:

Please Login or Register to see this Hidden Content

Basically, we would identify the page ID, in this case it's: `34` which gives it a class of: `page-id-34` Basically we would do this: ` #tertiary-sidebar{display:none} .page-id-34 #tertiary-sidebar{display:inline} ` `#tertiary-sidebar` probably isn't correct, I would be sure what we need once you actually have it set. Thanks, Bryan

#5 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 03 March 2011 - 02:52 PM

Maybe one more interesting thing.... When I go to Page-Edit, in PageLines Section Control, and when I chose not to hide Tertiary sidebar, and then click 'update' it returns to old settings with 'hide tertiary sidebar' option checked? Why?

#6 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 03 March 2011 - 02:54 PM

@Bryan: What exactly I need to set? I can't see code, bcs I don't see tertiary sidebar

#7 arpowers

arpowers

    Founder

  • Administrators
  • 3271 posts
  • LocationSan Francisco, CA
  • Framework Version:2.3
  • Country: Country Flag

Posted 03 March 2011 - 08:11 PM

@elena, have you added widgets to that sidebar? Also, did you see the options under 'advanced' on the template setup settings page? *(where you drag and drop sections)

#8 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 03 March 2011 - 08:26 PM

Yes, I've added widgets. Under advanced options everything is setup ok.

#9 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 03 March 2011 - 09:41 PM

Well this error could be the problem

Please Login or Register to see this Hidden Content

)&doctype=Inline&group=0 Do you have a plugin installed that might redeclare ``?

#10 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 03 March 2011 - 09:51 PM

hmmm, I don't know.
I use these plugins:
- Better Tag Cloud
- Contact Form 7
- MapPress Easy Google Maps
- Page Tagger
- Twitter for Wordpress
- Twitter Goodies
- Widget Logic
- WP125

Also, I use this custom css:

Please Login or Register to see this Hidden Content


Is there some file where I can check <head>?

#11 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 04 March 2011 - 12:53 AM

There are a number of problems with your CSS including adding what I was showing you as just an example. This is clearly a CSS problem though looking at all your original CSS.

I've cleaned up your CSS (please backup your old CSS before replacing it with the updated CSS):

`
.site-title, .site-description, .highlight #sidebar, #sidebar_tertiary, #sidebar_primary, .search #morefoot, .author #morefoot, .tag #morefoot, .category #morefoot{display:none}
.page-id-34 #sidebar_tertiary, .page-id-34 #sidebar_primary{display:inline}
#header{height:190px}
#primary-nav{margin-top:-30px}
#menu-glavni-nav-meni #menu-item-260{margin-left:120px}
.contact23 a:link, .contact23 a:visited{color:#777777;text-decoration:none}
.contact23 a:hover, .contact23 a:active{color:#BB0519;text-decoration:none}
#twitterbar{width:100%}
`
After updating let me know where you're at.

Also, I figured (after looking at your site) that you were handling these tasks with CSS, what version of PlatformPro are you using?

There is actually a much more efficient way of hiding things with the newest PlatformPro using Template Setup.

In any case we'll get there one way or another.

Thanks, Bryan

#12 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 04 March 2011 - 10:45 AM

Hi Bryan, I use PlatformPro 1.2.3 I've put your css to custom css. Now, I still don't have tertiary sidebar on page 'projekti', but also all primary sidebars from all other pages are gone. (except on page 'blog' where secondary sidebar shows ok).

#13 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 04 March 2011 - 06:13 PM

Try this code instead:

Please Login or Register to see this Hidden Content



#14 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 04 March 2011 - 09:28 PM

@Catrina: Now I have Tertiary sidebar on all pages, including blog page. I want it to show only on this page:

Please Login or Register to see this Hidden Content

Also, now I don't see Primary sidebar on all other pages except above one.

#15 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 04 March 2011 - 11:09 PM

I forgot to write, also, there is no sidebar at all on

Please Login or Register to see this Hidden Content



#16 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 04 March 2011 - 11:33 PM

I'm starting to think you have your sidebars confused. If your sidebars are disappearing then you have tertiary set for all of them, but you think it's the primary and for that specific page you have a normal sidebar and not the tertiary.

The CSS I provided is what you want (considering things were put together as you said^), it appears the only problem now is that for some reason on your

Please Login or Register to see this Hidden Content

page sidebars simply are not showing regardless anyways.

Very important: check that individual pages/posts settings; scroll down and make sure that you don't have it checked to hide sidebars.

It appears you have sidebar1 there, can you please put widgets in from: Appearance > Widgets.

Also, are you using any plugins that attempt to handle widgets or sidebars in any way?

Also, why is index.php in your URL's? Got to:

Settings > Permalinks

And set to custom structure: `/%postname%/`

Thanks, Bryan

#17 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 05 March 2011 - 12:21 AM

@Bryan, when I set it to

/%postname%/

it's shows me 'page not gound' error.

As I sad before, when I go to Page-Edit, in PageLines Section Control, and when I chose not to hide Tertiary sidebar, and then click 'update' it returns to old settings with 'hide tertiary sidebar' option checked? Why?
Also happen witho other checkboxes...

#18 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 05 March 2011 - 12:25 AM

@Bryan, Catrina:

I've try to do something similar (maybe not correct) but now it work!!!

Please Login or Register to see this Hidden Content



#19 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 05 March 2011 - 01:01 AM

Can I ask you one more thing, it's diffrent problem but now when you see custom css you maybe help me.... On notebooks and desktop computers everything is shown ok, but on iPhone and iPad, this custom header heigh looks different. All content is moved up, so it goes over main nav menu. why is difference between these devices and other? can I fix it?

#20 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 05 March 2011 - 09:39 PM

I'm glad you got your issue fixed, I'm surprised it was so difficult. I've seen this customization request many times before and solved it no problem.

Technically, the right way to do this is hiding sidebars page by page using the section control. That of course can be very tedious and you'll have to do it every time you add new pages.

The easiest way is with CSS tricks. If what you're using is working then great. Although what you're doing now just seems to be the same thing I was getting at just backwards, but let's not fuss with it anymore :). Also, another good tool is:

Please Login or Register to see this Hidden Content



A website can look different in all sorts of various ways from setup to setup; different screen resolutions, color settings, even what operating system and browsers are being used.

Designing websites to be cross-browser compatible is important, but no matter what you cannot control all your users making sure they have the latest Flash or JavaScript versions etc. - there are just so many variables.

This is an unfortunate difficulty of web design no matter what I'm afraid.

Thanks, Bryan