• Resolved evinx

    (@evinx)


    hello can someone help me ?

    i want to separate the sidebar widgets

    i found this on the forum but don’t know how to use it

    make a safe backup copy of your theme before attempting to edit any theme files.

    you could try and edit this (line 33 of functions.php):

    register_sidebar(array(‘name’ => ‘Sidebar Top’,’before_widget’ => ‘<div class=”%2$s”>’,’after_widget’ => ‘</div>’,’before_title’ => ‘<h3>’,’after_title’ => ‘</h3>’));

    and then see if these extra classes are added to the sidebar div (‘View’ ‘Source’ in the browser).
    if, you could the try to design new styles based an these classes.

    edit: as you are working with a premium theme, you might get some support from the seller as well.

    Sidebar.php
    Functions.php
    Screenshot

    greetz

Viewing 5 replies - 1 through 5 (of 5 total)
  • Based on the screenshot given, the separation lines could be added via CSS only.

    View source to get the appropriate class and add the top/bottom border.

    Thread Starter evinx

    (@evinx)

    hello

    thank for the quick respond but thats not what i meant

    the red lines are the areas that has to be separated 🙂

    just adding a line is no problem 🙂

    i mean like this ?
    screenshot other website

    Depending on how theme constructs the markup in sidebar area. Best case scenario, we might only need to add margin bottom to the widget. We might need to remove the white background from main sidebar area and apply that background color to the widget itself instead.

    Thread Starter evinx

    (@evinx)

    thanks for your information

    screenshot of result

    i add made my widgets margin-bottom: 25px;
    and add the white background to the widgets it self
    and delete the white background of the sidebar content

    thanks

    you’re welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘how to separate the sidebar widgets’ is closed to new replies.