Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    In WordPress, the menu links does not have any random option.
    You will have to manually edit them if you want to make changes.

    Thank you

    Thread Starter Khalil Handal

    (@khalil-handal)

    Hi,
    Not sure if I was clear enough!
    I have added a text widget with the following:
    title: youTube
    content: <iframe width=”210″ height=”210″ src=”https://www.youtube.com/embed/MhoUXnyc0_c&#8221; frameborder=”0″ allowfullscreen></iframe>

    This shows a certain You tube.
    So, Can I add a another text widget where the content is a link to one of the posts?
    What should I write in the content rectangle?

    Khalil
    thanks

    You want to add a text link to a text widget?

    <a href="https://yourchosenpost.com">My Custom Post Name</a>

    Let me know if this isn’t what you mean.

    Thread Starter Khalil Handal

    (@khalil-handal)

    Thank you very much, this is exactly what I was looking for.
    Two more things if possible:
    1- Can I put a frame or rectangle around it or not?
    2- The picture above it ir left justified. Is it possible to have it cnter?

    Khalil

    You can add custom CSS to your Child Theme style.css file, or by using a Custom CSS plugin.

    Stretch the image to fill the width of sidebar:

    .textwidget img {
        width: 100%;
    }

    You can centralize all textwidgets by adding this:

    .textwidget {
        text-align: center;
    }

    Or if you only want to centralize something specific, like your image only, you would need to add a class to your image, like so:

    <img src="https://yourimagelocation.com/image.jpg" class="myimage" />

    You can then use CSS to apply styles to that class only, like so:

    .myimage {
        text-align: center;
    }

    Hope this helps.

    Thread Starter Khalil Handal

    (@khalil-handal)

    Thanks,
    I succeeded to have everything centered using my child theme.
    Do I put my added class image also in the child theme?
    Khalil

    Thread Starter Khalil Handal

    (@khalil-handal)

    Hi,
    My image content box (Secondary Text widget: showing a photo) has the following:

    My CSS child theme shows the following:
    .myimage {
    text-align: center;
    }

    But the photo is not centered.
    Any suggestions

    Hi,

    Please use the following css to center your image.

    .myimage {
        display: block;
        margin: 0 auto;
        width: 150px;
    }

    Thank you

    Thread Starter Khalil Handal

    (@khalil-handal)

    Thank you very much, it worked as expected.
    Khalil

    You are welcome! ??

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘A link on the right side menu’ is closed to new replies.