• I am using ADRotate and only have to place this code in my header for it to appear:

    <div style=”float: right;”><?php if(function_exists( ‘wp_bannerize’ ))
    wp_bannerize( ‘group=SandForce Top’ ); ?></div>

    I am having trouble getting it to line up beside my logo and wonder if I might be able to ask for assistance moving it down so it is parallel to the site logo.

    Tx ahead!

Viewing 15 replies - 1 through 15 (of 16 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You may need to use CSS for element positioning.

    Are you using a custom theme?

    Thread Starter flamenko

    (@flamenko)

    yes I am. It is Black Aperture but I have modded it somewhat….or atleast fumble my way through such things. Is there any way to include it right in the header code?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can use internal CSS in the <head>...</head> section of the page, using a Custom Style/CSS plugin such as http://wordpress.org/extend/plugins/custom-css-manager-plugin/ .

    Thread Starter flamenko

    (@flamenko)

    I actually have a spot in the theme panel to include header additions but do not know the proper coding. Tx.

    I am looking for help in pushing that banner down say…1/4″

    Thread Starter flamenko

    (@flamenko)

    Is there a simple way to add the padding code right into the present code I insert?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried CSS margin styles?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    By the way, changes to theme files will erase once the theme is updated.

    Thread Starter flamenko

    (@flamenko)

    I dont update the theme for that reason… no I havent tried the cahanges and am asking… what code and where should I put it? eheh

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    For the style, look at the “Margin – Individual sides” section of link.
    To apply that style to the element you want, try this link – http://www.w3schools.com/cssref/css_selectors.asp

    Thread Starter flamenko

    (@flamenko)

    I am not looking for someone to tell me how to learn, but rather,say try this code out and throw it in here.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Specificities of CSS are not the intention of these forums.

    Thread Starter flamenko

    (@flamenko)

    Dude, really ok thanks but you have just shown that you are absolutely no help to other members at all. I have relied on these forums and gotten just that for years where I see you come here to advertise your web design site. That should definitely not be allowed.

    Tx anyway and lets carry on shall we?

    Moderator cubecolour

    (@numeeja)

    flamenko please try to be more respectful of other members of the forum. Everyone here is a volunteer so the standard of answers does vary; if an answer does not suit your needs please say you need more help so in a polite way instead of launching an unwarranted attack on a forum volunteer.

    Andrew has tried to help you, but instead of being willing to learn how to help yourself you want an answer handed to you on a plate.

    It may be possible for someone to provide more specific help if you provide a link to a page you need the changes applied to.

    Thread Starter flamenko

    (@flamenko)

    Top SandForce Banner and tx…

    http://thessdreview.com/

    No need to be disrespectful but I have been here a hundred times before and received the assistance I needed which is why I returned. I can work my way through css but simply cannot figure this one out and the links provided served no purpose but to confuse me further.

    Moderator cubecolour

    (@numeeja)

    You are using a commercial theme so you should be able to get some customisation support from the theme vendor. Or perhaps someone else who owns the theme can pick it apart for you.

    From your description it sounds like you want the banner to slot in beneath the logo & float left. To do this you will probably need to make the header area taller to accommodate it and take out the

    float: right;

    Probably some other stuff will need to be changed as well, as the css is minified and the html seems to have a serious case of divitis its not easy to pick it apart so I can’t easily see what else needs to be targeted.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Trying to Adjust Header Banner Position’ is closed to new replies.