• namhuy

    (@namhuy)


    i used #content .main {float:right;} to move sidebar to the left which it works, but the space/gap between sidebar and content is so huge, how can I reduce that gap ?

    https://namhuy.net/
    or you can view the image here
    https://i.imgur.com/R59Fyd0.jpg

    Also, how can i reduce space between logo or top header to the body? As you can see from my website that gap is a little bit big.

    When the sidebar is on the right, I got another problem that if the line is too long it will crossover the sidebar

    View post on imgur.com

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter namhuy

    (@namhuy)

    another problem when move sidebar to the left, when sidebar is on the left side, I can’t click the entire of page on mobile theme from Virtue

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    1. The gap is because you have a sidebar add this is thinner then your sidebar, you can align it to the right if you think that looks better but thats up to your, the sidebar is a certain size so it’s look will depend on how you fill it.

    2. because of the code tag it forces the code into one line so you can add this for your long lines of code, just put this in the custom css box in the theme options:

    code {
    display: block;
    overflow: scroll;
    }

    3. Try using this css to make the sidebar on the left:

    @media (min-width: 768px) {#content .main {float:right;}}

    Kadence Themes

    Thread Starter namhuy

    (@namhuy)

    code {
    display: block;
    overflow: scroll;
    }

    now “code” work fine in block and not cross over sidebar. I still have sidebar problem while in left huge gap.

    thanks for code block ??

    Thread Starter namhuy

    (@namhuy)

    how can i control/reduce the gap of the top logo ?

    View post on imgur.com

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    With css,
    What are you trying to do? have the logo float right or force the add more to the left?

    Kadence Themes

    magpie36

    (@magpie36)

    Please help Kadence. I attempted moving my sidebar to the left.
    I did as you stated above:
    code {
    display: block;
    overflow: scroll;
    }

    I added to my custom css and it worked fine:
    Then I went on and added what you said to add in step 3.
    @media (min-width: 768px) {#content .main {float:right;}}
    to my custom css.
    Now I can’t see my website and won’t let me log-in to my admin.
    Please HEEEELLLLPPPP!

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    magpie36, Did you place the css somewhere different then the appearance > theme options > advanced settings?

    If you went into files you were in the wrong place and you would need to get into your server through your host logon and to the file manager. Then remove what you added to a theme or wordpress file.

    Kadence Themes

    magpie36

    (@magpie36)

    Hi. It turns out it was a server issue that happened the same exact time I put that bit of code in and previewed the page. So glad it wasn’t anything else. Phew! Sorry about that.
    The code in step two works wonderfully.
    I do however have two other questions.
    I would like to have the my favorite post link fill the whole page rather than be in a box towards the left. It leaves me with a huge blank space.

    -Also I have also attempted to add [wp-favorites-post] to my favorites page.
    [wpfp-link] on my product categories and post pages.
    This worked showing me only the favorite posts, but not my favorite products.
    What can I do to have them appear (if this could work then I won’t have to use the sidebar to the left). even though I still want to know how to do this.
    Thanx

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    magpie36,
    You would need to post a link for the first question, and the second depends on whatever plugin your using and if that plugin works with woocommerce.

    Kadence Themes

    magpie36

    (@magpie36)

    ok. Let’s start off with the second question…The plugin I am using is actually called wordpress favorite posts plugin.

    magpie36

    (@magpie36)

    I copied this from someone else older blog. I have the same issue:

    “I am able to get favorited WP e-commerce products into the Most Favorited Posts widget by placing <?php wpfp_link() ?> into the wpsc-products_page.php file. However, they do not appear in my favorites list on a Favorites page that includes the [wp-favorite-posts]short code – while favorites from regular wp pages and posts do show up successfully there.

    How can I get the products that are favorited to show up on my Favorites page? (I’m not a coder, just a cut-and-paster, so please be conscious of that when explaining).”

    https://www.ads-software.com/extend/plugins/wp-favorite-posts/

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    so your using “wp e-commerce” and not woocommerce? This theme is only built to work with woocommerce.

    As for the plugin I think you would want to check with the plugin author first, make sure this works with woocommerce. or atleast activate a defualt theme and see if it works. If it does then I would need to link to see why it might not be working in the virtue theme.

    Kadence Themes

    magpie36

    (@magpie36)

    no my mistake, I am using woocommerce.
    I am using my favorite posts plugin to create favorite links on my posts page and on my product categories page. I have them working, where the link show above my product image you click on them and it adds to favorite….the problem is is that on my favorites page I created it only shows my favorites posts in a bulleted list and my favorited products don’t list.
    -They do however show up listed under the most favorited posts widget in my sidebar.
    -So I was wondering if you knew anyway of displaying the favorited products by somehow using coding from the most favorited posts widget and applying it to the my favorites page without making it look like the sidebar container….just so that it shows bulleted like the rests of the posts.
    -I will get in contact with the author first, but if you do have any brainstorming suggestions that don’t involve me posting my page link I would so appreciate it and give it a try.
    Thanx for your help – I might be back if I can’t get it figure it out….just thought it would be simple for someone who knows a bit of coding to grab something from the most favorited posts widget and add it to my favorites page. :/

    magpie36

    (@magpie36)

    Forget it. I’m not a coder but I got it all figured out.
    Thanx for your time anyway. ??

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    A link would really help understand. I don’t have any experience with this favorites plugin so i’m having to image what your talking about and it can create a lot of confusion.

    You can use plugins to add widgets to pages. Here is one example: https://www.ads-software.com/plugins/widgets-on-pages/ so if the issue is just getting the widget in the page content area then you can use that and you can style how that looks with css. Something I can help with if there is a link.

    Hope that helps,

    Kadence Themes

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘sidebar to the left’ is closed to new replies.