Jump to content


Photo
- - - - -

Need Help Adding Wrapper


  • Please log in to reply
12 replies to this topic

#1 nanacampana

nanacampana

    Member

  • Members

  • 14 posts
  • Country: Country Flag

Posted 02 November 2012 - 07:35 PM

Hello... i want to add the following code to add image around wrapper...

here is the code i am trying to add:
#wrapper { margin: 0 auto; width:965px; background-image:url("

Please Login or Register to see this Hidden Content

); } #outerwrap { margin: 0px auto; width: 965px; padding: 0px; padding-top: 0px; padding-bottom:0px; background-repeat: repeat; border: medium solid #; }

Adding it to CSS is not working, so I need help figuring out where to stick it..

This is the website i want to add it to: www.nanacampana.com

Here is a sample of this done in my old site:

Please Login or Register to see this Hidden Content



Any suggestions?

Thanks!

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 November 2012 - 08:54 PM

Where exactly are you trying to add this code?

Also, I validated the code and found that you're missing a color code after the # here: border: medium solid #; }

Additionally, that creates a parse error.

#3 nanacampana

nanacampana

    Member

  • Members

  • 14 posts
  • Country: Country Flag

Posted 02 November 2012 - 10:47 PM

I am adding it to the styles sheet via Filezilla...

The error you are talking about is coming up as a LESS error on my wordpress. I have to go in and change it.. Is that the same error you are referring to?

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 03 November 2012 - 01:36 AM

It may not be. What does the error you're getting say?

Add your code to Dashboard > PageLines > Site Options > Custom Code in the CSS Rules area. Don't edit core files.

If you don't want to use the CSS Rules area, then make sure you have either a child theme (edit style.css or style.less) or, in the PageLines Customize plugin (wp-content/plugins/pagelines-customize/style.css). Those are the only 3 places where CSS may be successfully added. I look forward to knowing what the error is.

#5 nanacampana

nanacampana

    Member

  • Members

  • 14 posts
  • Country: Country Flag

Posted 03 November 2012 - 12:51 PM

I tried using the live editor in WP via the plugin and I added the content there and nothing happened. The plugin is activated, yet it says (inactive) on the top.. Any ideas how I can make sure the plugin activates? Posted Image

#6 batman

batman

    Bat Learning

  • Members

  • 2009 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 03 November 2012 - 01:02 PM

Hi nanacampana
Please go to
Pagelines > Store > Plugin > Your plugin
and verify that it is Activate

#7 beardedavenger

beardedavenger

    Unicorn Wrangler

  • Members

  • 1219 posts
  • Country: Country Flag

Posted 03 November 2012 - 01:32 PM

This is not valid CSS

border: medium solid #;

Might start there.

#8 nanacampana

nanacampana

    Member

  • Members

  • 14 posts
  • Country: Country Flag

Posted 04 November 2012 - 01:14 PM

I have spent many hours working and I realized that the problem is that i was trying to do a border, and it is actually a repeat of a content box image. I have looked everywhere to figure out the coding for this, and cannot figure it out. The coding i used in my other page worked there, but is not working here... I am not too familiar on how to write CSS- so any help writing it would be greatly appreciated...

I want to be able to do it through the editor so thqat it remains with any update.. Where can i go to figure out other ways to code this thing.. :(

Here are the images I am trying to use:

left and right sides:

Please Login or Register to see this Hidden Content


Bottom:

Please Login or Register to see this Hidden Content


Top: goes along with my new header, so this is not part of the code..

Any help would be greatly appreciated..

#9 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 04 November 2012 - 06:33 PM

In Dashboard > Plugins > Editor, the "(inactive)" status has nothing to do with whether your plugin is activated or not. It only refers to whether you're actively loading a plugin to edit for the moment in the editor. It is normal for it to be "inactive".

I believe you need to fix the # to include a color code. It should be something like #C00000 and not just a # sign. Please correct that and see if you still get errors.

#10 nanacampana

nanacampana

    Member

  • Members

  • 14 posts
  • Country: Country Flag

Posted 05 November 2012 - 12:29 AM

The weird thing is that that code works well in the other site even with that.. and I am not sure why that part of the code is there to begin with because I do not want a border around that image..

Is everything else in the code correct?

#11 catrina

catrina

    Advocate

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

Posted 05 November 2012 - 04:52 PM

To make sure, is this still the code you have?:

Please Login or Register to see this Hidden Content



#12 nanacampana

nanacampana

    Member

  • Members

  • 14 posts
  • Country: Country Flag

Posted 05 November 2012 - 04:58 PM

That is the code I have tried. I took it off the Custom CSS and off the customize plugin because it did absolutely nothing.. lol It is the code that is currently being used in the site I am trying to get away from.. :)

Hope that made sense..

#13 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 07 November 2012 - 05:59 AM

Hi there, if you've copied and pasted the css off your old site into pagelines it won't work. We have our own selectors which you'd need to apply the css to to get the same effect as the previous site. The area you want to apply the border to in the css is .page-canvas

Please Login or Register to see this Hidden Content