Home Forums Weaver Xtreme Theme Problem styling parallax overlay using per post style box. Xtreme Plus

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #18312
    Laura_D
    Participant

    I put  .parallax-content {color:yellow;}  in per post style box and the parallax overlay does not change.  I’ve tried various variations on this command and still the overlay does not change.  What is the problem? Otherwise I have meticulously followed the help pages and the parallax display works beautifully.

    #24761
    scrambler
    Moderator
    I believe you stumbled upon a BUG.
    @weaver, The per post style box inserts the wrong post ID for a parallax post.
    if you put a rule like
    .parallax-content {color:yellow;} 
    In the per post style box of a parallax post with the ID 8200 for example, it will generate a rule
    #post-8200 .parallax-content {color:yellow;} 

    Unfortunately, it appears parallax post have their ID modified to include -p  in this case ID=post-8200-p
    As a result, the generated rule has no effect

    #24762
    scrambler
    Moderator
    @Laura_D , in the mean time add the following rule in your per post style box
    + #post-xxxx-p .parallax-content {color:yellow;}
    Replacing xxxx by the post ID#
    #24763
    Laura_D
    Participant

    Thank you Scrambler!  So, is there a way for me to easily override this error?  Or should I wait for Bruce or you to fix the BUG?

    #24764
    scrambler
    Moderator

    We cross posted, the answer is just above your post

    #24765
    Laura_D
    Participant

    #post-107-p .parallax-content {color:yellow;}  Scrambler – that is what I put in the per-post style box.  It did not work.  I do not need this function immediately.  Let me know when the BUG is worked out.  Thanks!

    #24766
    scrambler
    Moderator
    You forgot the + sign in the front !
    +#post-107-p .parallax-content {color:yellow;}
    The + in a rule placed in the per post style box tells the theme not to add the post ID class (in this case so that you can put the proper one instead)
    #24767
    Laura_D
    Participant

    Ah yes, that works!  Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.